Wallpaper display method and electronic device
By monitoring the usage time of applications and drawing wallpapers, and displaying the proportion of each type of application, the problem of single wallpaper settings is solved, allowing users to intuitively understand usage and increase fun.
Patent Information
- Application Number
- CN202111070826.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-13
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2041-09-13
AI Technical Summary
The wallpaper settings of existing electronic devices are single, making it difficult for users to intuitively understand the usage time of each application and the total usage time of the device.
By monitoring the length of time users use applications, the wallpaper is drawn according to the wallpaper parameters, showing the usage time proportion of each type of application, and combining user operations such as shaking to generate dynamic wallpapers to increase fun and interactivity.
Users can intuitively understand the usage of each application, and the wallpaper display is more diverse, which increases the interactivity and fun between users and devices.
Smart Images

Figure CN115794269B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal devices, and in particular to a wallpaper display method and electronic device. Background Art
[0002] Wallpaper is the background image used on the display interface of an electronic device. The wallpaper size can be adjusted to suit the screen size. Wallpapers can make the display on a device look more beautiful and personalized. Currently, most electronic devices use a single image as the desktop wallpaper, resulting in a monotonous wallpaper. Summary of the Invention
[0003] In order to solve the above technical problems, the present application provides a wallpaper display method and electronic device. In this method, the electronic device draws and displays wallpaper based on the user's application usage time and the wallpaper parameters set by the user or the system default. On the one hand, the displayed wallpaper can show the usage time of various types of applications and the total time the user currently uses the electronic device, which makes it easy for the user to intuitively know the usage of the electronic device. On the other hand, the user can flexibly set the wallpaper parameters to make the displayed wallpaper more diverse.
[0004] In a first aspect, the present application provides an electronic device. The electronic device includes a memory and a processor. The processor is coupled to the memory. The memory stores program instructions, and when the program instructions are executed by the processor, the electronic device performs the following steps: the electronic device monitors a first usage duration of a first type of application and a second usage duration of a second type of application by a user; based on the presentation mode of the wallpaper application on the display interface of the electronic device, determines a first display ratio of the first type of application on the display interface corresponding to the first usage duration, and a second display ratio of the second type of application on the display interface corresponding to the second usage duration; the electronic device displays a generated first wallpaper on the display interface based on the first display ratio and the second display ratio, wherein a first portion corresponding to the first type of application in the first wallpaper displays a first color, and an area ratio of the first portion in the first wallpaper corresponds to the first display ratio; a second portion corresponding to the second type of application in the first wallpaper displays a second color, and an area ratio of the second portion in the first wallpaper corresponds to the second display ratio. The area ratio of the first portion in the first wallpaper and the first display ratio can be the same, or they can be correlated with a preset correlation. The preset correlation may include, but is not limited to: a positive correlation between the area ratio and the first display ratio, e.g., a larger area ratio, a larger first display ratio; an inverse correlation between the area ratio and the first display ratio, e.g., a smaller area ratio, a larger first display ratio; a difference between the area ratio and the first display ratio being a preset difference; etc. The area ratio of the second portion in the first wallpaper and the second display ratio can be the same, or they can be correlated with a preset correlation. During a user's use of an electronic device, when the electronic device detects that the user's first usage duration of a first type of application has been updated to a third usage duration, the electronic device determines a third display ratio of the first type of application on a display interface corresponding to the third usage duration, where the third usage duration is greater than the first usage duration. Based on the third display ratio and the second display ratio, the electronic device updates and displays a generated second wallpaper on the display interface. A third portion of the second wallpaper corresponding to the first type of application displays a first color, and an area ratio of the third portion in the first wallpaper corresponds to the third display ratio. A fourth portion of the second wallpaper corresponding to the second type of application displays a second color, and an area ratio of the fourth portion in the second wallpaper corresponds to the second display ratio. The combined display area of the third and fourth portions is smaller than the display area of the first wallpaper and larger than the combined display area of the first and second portions. The area ratio of the third portion in the second wallpaper can be the same as the third display ratio or can be correlated with a preset correlation, and the area ratio of the fourth portion in the second wallpaper can be the same as the second display ratio or can be correlated with a preset correlation. This method of drawing a wallpaper based on the user's usage duration for each type of application allows the displayed wallpaper to represent the usage duration of each type of application and the total time the user currently uses the electronic device, making it easier for the user to intuitively understand the usage status of the electronic device.
[0005] According to a first aspect, when program instructions are executed by a processor, the electronic device performs the following steps: the electronic device compares a third display ratio of a first type application on a display interface with the first display ratio to determine a change in the display ratio; adds the change in the first preset ratio to the first display ratio to obtain a fourth display ratio of the first type application on the display interface; the electronic device updates and displays a generated third wallpaper on the display interface based on the fourth display ratio of the first type application on the display interface and the second display ratio of the second type application on the display interface; displays a first color on a fifth portion of the third wallpaper corresponding to the first type application, with the area ratio of the fifth portion on the third wallpaper corresponding to the fourth display ratio; displays a second color on a sixth portion of the third wallpaper corresponding to the second type application, with the area ratio of the sixth portion on the third wallpaper corresponding to the second display ratio. The area ratio of the fifth portion on the third wallpaper can be the same as or have a predetermined correlation with the fourth display ratio, and the area ratio of the sixth portion on the third wallpaper can be the same as or have a predetermined correlation with the second display ratio. After displaying the third wallpaper, the electronic device generates a second wallpaper and displays it on the display interface. Optionally, the first wallpaper may be displayed before the third wallpaper is displayed on the display interface, and then the third wallpaper is generated and displayed. After the third wallpaper is displayed, the second wallpaper is generated and displayed on the display interface. This wallpaper display method can show the wallpaper update process to the user in the form of animation, making the wallpaper display more interesting.
[0006] According to the first aspect, or any implementation of the first aspect above, when the program instructions are executed by the processor, the electronic device performs the following steps: when the electronic device detects a user shaking the electronic device during the process of updating the wallpaper, the electronic device determines the shaking angle of the electronic device; when the shaking angle is greater than the first preset angle, the electronic device determines the fifth display ratio of the first type application in the display interface and the sixth display ratio of the second type application in the display interface based on the shaking angle, the third display ratio corresponding to the first type application in the display interface, and the second display ratio of the second type application in the display interface; the electronic device updates the display of the generated fourth wallpaper in the display interface based on the fifth display ratio and the sixth display ratio; the seventh part corresponding to the first type application in the fourth wallpaper displays the first color, and the area ratio of the seventh part in the fourth wallpaper corresponds to the fifth display ratio; the eighth part corresponding to the second type application in the fourth wallpaper displays the second color, and the area ratio of the eighth part in the fourth wallpaper corresponds to the sixth display ratio. When the electronic device detects that the shaking angle is less than the first preset angle, the electronic device updates the display of the generated second wallpaper in the display interface based on the third display ratio and the second display ratio. In the process of updating the desktop wallpaper image, the desktop wallpaper is generated in combination with the shaking angle of the electronic device by the user, which can increase the interest of the wallpaper display.
[0007] According to the first aspect, or any implementation method of the first aspect above, when the program instructions are executed by the processor, the electronic device performs the following steps: the electronic device compares the third display ratio and the first display ratio corresponding to the first type of application to determine the change in the display ratio; the change in the second preset ratio is added to the first display ratio to obtain the seventh display ratio; the electronic device determines the fifth display ratio corresponding to the first type of application in the display interface and the sixth display ratio corresponding to the second type of application in the display interface based on the shaking angle, the seventh display ratio, and the second display ratio. The electronic device updates the generated fourth wallpaper in the display interface according to the fifth display ratio and the sixth display ratio. After displaying the fourth wallpaper, the electronic device updates the generated second wallpaper in the display interface according to the third display ratio corresponding to the first type of application and the second display ratio corresponding to the second type of application. In the process of updating the wallpaper, this method, when it is detected that the shaking angle of the electronic device is greater than the first preset angle, presents a gradually increasing area ratio of the area occupied by the first type of application in the display interface, and the liquid level in the area occupied by the first type of application shakes with the electronic device. When it is detected that the shaking angle is reduced to the first preset angle, the liquid surface shaking effect stops and the liquid surface gradually returns to calm. Moreover, it can be set that the greater the shaking angle of the electronic device, the more obvious the fluctuation of the liquid surface in the area occupied by the first type of application in the display interface. Not only that, the liquid level in the area occupied by the second type of application can also fluctuate with the shaking of the electronic device. This wallpaper display method can not only increase the fun of wallpaper display, but also increase the interaction between users and electronic devices.
[0008] According to the first aspect, or any implementation of the first aspect above, when the program instructions are executed by the processor, the electronic device performs the following steps: the electronic device receives the user's operation to turn on the first switch in the data wallpaper parameter setting interface, such as clicking, long pressing or sliding the first switch, wherein the first switch is used to trigger the system to monitor the screen usage time; when it is monitored that the screen usage time exceeds the first preset time, a first prompt message is displayed to prompt the user to use the electronic device in moderation, so as to avoid the user using the electronic device for a long time and affecting his health.
[0009] According to the first aspect, or any implementation method of the first aspect above, when the program instructions are executed by the processor, the electronic device performs the following steps: when the electronic device updates the second wallpaper generated and displayed in the display interface according to the third display ratio and the second display ratio, the electronic device can obtain the first wallpaper; draw a first graphic for the target application icon in the first wallpaper to generate a fifth wallpaper; draw a second graphic for the target application icon in the first wallpaper to generate a sixth wallpaper, wherein the area of the second graphic is larger than the first graphic, and the distance between the second graphic and the first part occupied by the first type of application in the display interface is smaller than the distance between the first graphic and the first part; draw a third graphic for the target application icon in the first wallpaper to generate a seventh wallpaper; wherein the area of the third graphic is larger than the area of the second graphic, and the third graphic partially overlaps with the first part occupied by the first type of application in the display interface; generate the second wallpaper according to the third display ratio corresponding to the first type of application and the second display ratio corresponding to the second type of application; display the first wallpaper, the fifth wallpaper, the sixth wallpaper, the seventh wallpaper and the second wallpaper in the display interface in sequence. This wallpaper display method can present a wallpaper update animation that is centered on the application and spreads to the area occupied by the type of application in the display interface, such as the first part, which can increase the fun of wallpaper update.
[0010] According to the first aspect, or any implementation of the first aspect above, when the program instructions are executed by the processor, the electronic device performs the following steps: the electronic device receives the user's setting operation on the wallpaper parameters, wherein the wallpaper parameters include: wallpaper style, wallpaper presentation mode, application type classification information, colors corresponding to each type of application, and sorting method of each type of application; the electronic device determines the wallpaper parameters in response to the user's setting operation on the wallpaper parameters. The electronic device updates the generated second wallpaper in the display interface based on the wallpaper style, sorting method of each type of application, the third display ratio corresponding to the first type of application, the second display ratio corresponding to the second type of application, and the color corresponding to each type of application. This method of providing a wallpaper parameter setting entry for the user to set allows the user to flexibly set the wallpaper parameters, making the displayed wallpaper more diverse.
[0011] According to the first aspect, or any implementation of the first aspect above, when the program instructions are executed by the processor, the electronic device performs the following steps: the electronic device responds to the user's operation to turn on the second switch in the shared data wallpaper setting interface to turn on the shared wallpaper service; wherein the second switch is used to control the start of the personal multi-device shared data wallpaper service; the electronic device responds to the user's operation to set the shared wallpaper mode to determine the first shared wallpaper mode; the electronic device responds to the user's selection operation of the first shared device to establish a data wallpaper sharing relationship with the first shared device, wherein the first shared device is the same as the electronic device login account. This method of providing an interface for establishing a same-account device sharing relationship allows users to establish a data wallpaper sharing relationship between devices with the same account as needed. The devices that have established a data wallpaper sharing relationship can share application usage time information. On the one hand, it is convenient for users to have a comprehensive understanding of the usage time of applications on multiple devices; on the other hand, when the user's device is used by others, they can have an overall understanding of the usage time of the device by others.
[0012] According to the first aspect, or any one of the implementations of the first aspect above, when the program instructions are executed by the processor, the electronic device performs the following steps: after the electronic device establishes a data wallpaper sharing relationship with the first sharing device, the first sharing device sends application usage time information to the electronic device when updating the wallpaper. The electronic device receives the application usage time sent by the first sharing device; when the electronic device receives the user-triggered wallpaper update operation, it displays the generated target wallpaper in the display interface based on the usage time of each type of application in the electronic device, the usage time of each application in the first sharing device, the first shared wallpaper mode and the wallpaper parameters. The first shared wallpaper mode can be separate or integrated. The electronic device generates a wallpaper based on the usage time of its own application and the usage time of the application of the device that establishes the data wallpaper sharing relationship, and then displays it, so that the user can have a comprehensive understanding of the usage time of applications on multiple devices.
[0013] According to the first aspect, or any implementation of the first aspect above, when the program instructions are executed by the processor, the electronic device performs the following steps: when the first shared wallpaper mode is fusion, upon receiving a user-triggered wallpaper update operation, the electronic device accumulates the usage time of each application on the first shared device to the usage time of each type of application in the electronic device; and generates a desktop wallpaper based on the accumulated usage time of each type of application and preset wallpaper parameters. This method of generating a desktop wallpaper by fusing the usage time of applications on each device that has established a data wallpaper sharing relationship facilitates the user to understand the total usage time of the same type of applications on each device.
[0014] According to the first aspect, or any implementation of the first aspect above, when the program instructions are executed by the processor, the electronic device performs the following steps: when the first shared wallpaper mode is separate, upon receiving a user-triggered wallpaper update operation, the electronic device determines an eighth display ratio of each type of application in the display interface of the electronic device based on the usage time of each type of application in the electronic device and the presentation mode of the wallpaper application on the display interface of the electronic device; determines a ninth display ratio of each type of application in the display interface of the first shared device based on the usage time of each application in the first shared device and the presentation mode of the wallpaper application on the display interface of the electronic device; generates a first wallpaper graphic based on the eighth display ratio of each type of application in the display interface of the electronic device; generates a second wallpaper graphic based on the ninth display ratio of each type of application in the display interface of the first shared device; and displays a target wallpaper including the first wallpaper graphic and the second wallpaper graphic on the display interface. This method of separately displaying the usage time of applications in each device that has established a wallpaper data sharing relationship in the wallpaper display portion facilitates the user to understand the usage time of each application in a single device.
[0015] According to the first aspect, or any implementation of the first aspect above, when the program instructions are executed by the processor, the electronic device performs the following steps: the electronic device determines a second shared wallpaper mode in response to the user's setting operation for the shared wallpaper mode; the electronic device establishes a data wallpaper sharing relationship with the second shared device in response to the user's request operation to establish a shared data wallpaper with the second shared device, wherein the second shared device and the electronic device have different login accounts; the electronic device establishes a data wallpaper sharing relationship with the second shared device based on the second shared wallpaper mode, and shares the data wallpaper with the second shared device. This method of providing an interface for establishing a sharing relationship between devices with different accounts allows users to establish a data wallpaper sharing relationship between devices with different accounts as needed, and the devices that have established a data wallpaper sharing relationship can share application usage time information.
[0016] According to the first aspect, or any implementation of the first aspect above, when the program instructions are executed by a processor, the electronic device performs the following steps: the electronic device receives a first selection operation by a user on a sharing management option in a shared data wallpaper setting interface, the first selection operation including, but not limited to, a click, a long press, or a sliding operation; the electronic device displays a sharing management interface in response to the first selection operation, wherein the sharing management interface includes an option to add a shared device; the electronic device displays at least one shared device to be selected in response to a second selection operation by the user on the adding shared device option, the second selection operation including, but not limited to, a click, a long press, or a sliding operation; the electronic device sends a data wallpaper sharing request to the second shared device in response to the second selection operation by the user on the second shared device, wherein the user selects a target contact from the sharable contacts displayed by the electronic device, and the electronic device determines the device corresponding to the target contact selected by the user as the second shared device. Upon receiving the data wallpaper sharing response message sent by the second shared device, the electronic device determines to establish a data wallpaper sharing relationship with the second shared device. This method of establishing a data wallpaper sharing relationship facilitates the user to flexibly and conveniently select the second shared device.
[0017] According to the first aspect, or any implementation of the first aspect above, when the program instructions are executed by the processor, the electronic device performs the following steps: after establishing a data wallpaper sharing relationship between the electronic device and a second shared device, the electronic device, upon receiving a user-triggered wallpaper update operation, sends a first request to the server, wherein the first request carries the identifier and account information of the second shared device; the server searches for application usage time information uploaded by the second shared device based on the account information in the first request, and sends the found application usage time information uploaded by the second shared device to the electronic device, and the electronic device receives the usage time of each application on the second shared device sent by the server; based on the usage time of each type of application on the electronic device, the application usage time of the second shared device, the second shared wallpaper mode, and the wallpaper parameters, the generated target wallpaper is displayed on the display interface. This method of sharing data wallpapers between multiple devices of different users facilitates users to monitor the application usage time of multiple devices with different login accounts, and can also increase the fun of the wallpaper. For example, parents can monitor the time their children use electronic devices, and for another example, sharing data wallpapers on multiple devices among family members can facilitate mutual supervision of electronic device usage among family members.
[0018] In a second aspect, the present application provides a wallpaper display method, wherein the method includes: an electronic device monitoring a user's first usage time of a first type of application and a second usage time of a second type of application; the electronic device determines, based on the presentation method of the wallpaper application on the display interface of the electronic device, a first display ratio of the first type of application on the display interface corresponding to the first usage time, and a second display ratio of the second type of application on the display interface corresponding to the second usage time; the electronic device displays a generated first wallpaper on the display interface according to the first display ratio and the second display ratio; wherein the first part of the first wallpaper corresponding to the first type of application displays a first color, and the area ratio of the first part in the first wallpaper corresponds to the first display ratio, the second part of the first wallpaper corresponding to the second type of application displays a second color, and the second part in the first wallpaper The area ratio corresponds to the second display ratio; the electronic device monitors the user's first usage time of the first type of application, updates it to the third usage time, determines the third display ratio of the first type of application corresponding to the third usage time on the display interface, and the third usage time is greater than the first usage time; the electronic device updates the display of the generated second wallpaper in the display interface according to the third display ratio and the second display ratio; wherein, the third part of the second wallpaper corresponding to the first type of application displays the first color, and the area ratio of the third part in the first wallpaper corresponds to the third display ratio, the fourth part of the second wallpaper corresponding to the second type of application displays the second color, and the area ratio of the fourth part in the second wallpaper corresponds to the second display ratio; the display area of the sum of the third part and the fourth part is smaller than the display area of the first wallpaper, and larger than the display area of the sum of the first part and the second part.
[0019] According to the second aspect, before the electronic device updates and displays the generated second wallpaper in the display interface based on the third display ratio and the second display ratio, the method also includes: the electronic device compares the third display ratio with the first display ratio to determine the change in the display ratio; the electronic device adds the change in the first preset ratio to the first display ratio to obtain the fourth display ratio of the first type of application in the display interface; the electronic device updates and displays the generated third wallpaper in the display interface based on the fourth display ratio and the second display ratio; the fifth part corresponding to the first type of application in the third wallpaper displays the first color, and the area ratio of the fifth part in the third wallpaper corresponds to the fourth display ratio; the sixth part corresponding to the second type of application in the third wallpaper displays the second color, and the area ratio of the sixth part in the third wallpaper corresponds to the second display ratio.
[0020] According to the second aspect, or any implementation method of the above second aspect, the electronic device updates and displays the generated second wallpaper in the display interface according to the third display ratio and the second display ratio, including: when the electronic device detects that the user shakes the electronic device during the process of updating the wallpaper, the electronic device determines the shaking angle of the electronic device; when the shaking angle of the electronic device is greater than the first preset angle, the electronic device determines the fifth display ratio of the first type application in the display interface and the sixth display ratio of the second type application in the display interface based on the shaking angle, the third display ratio of the first type application in the display interface, and the second display ratio of the second type application in the display interface; the electronic device updates and displays the generated fourth wallpaper in the display interface according to the fifth display ratio and the sixth display ratio; wherein, the seventh part of the fourth wallpaper corresponding to the first type application displays the first color, and the area ratio of the seventh part in the fourth wallpaper corresponds to the fifth display ratio, the eighth part of the fourth wallpaper corresponding to the second type application displays the second color, and the area ratio of the eighth part in the fourth wallpaper corresponds to the sixth display ratio; when the electronic device detects that the shaking angle is less than the first preset angle, it updates and displays the generated second wallpaper in the display interface based on the third display ratio and the second display ratio.
[0021] According to the second aspect, or any implementation method of the second aspect above, when the shaking angle of the electronic device is greater than the first preset angle, the electronic device determines the fifth display ratio of the first type application in the display interface and the sixth display ratio of the second type application in the display interface based on the shaking angle, the third display ratio of the first type application in the display interface, and the second display ratio of the second type application in the display interface, including: the electronic device compares the third display ratio with the first display ratio to determine the change in the display ratio; the electronic device adds the change in the second preset ratio to the first display ratio to obtain the seventh display ratio; the electronic device determines the fifth display ratio of the first type application in the display interface and the sixth display ratio of the second type application in the display interface based on the shaking angle, the seventh display ratio of the first type application in the display interface, and the second display ratio of the second type application in the display interface.
[0022] According to the second aspect, or any implementation of the second aspect above, the wallpaper display method also includes: the electronic device receives the user's turning on operation of the first switch in the data wallpaper parameter setting interface, wherein the first switch is used to trigger the system to monitor the screen usage time; when the electronic device monitors that the screen usage time exceeds the first preset time, the electronic device displays a first prompt message, wherein the first prompt message is used to prompt the user to use the electronic device in moderation.
[0023] According to the second aspect, or any implementation method of the above second aspect, the wallpaper display method also includes: the electronic device obtains a first wallpaper; the electronic device draws a first graphic for the target application icon in the first wallpaper to generate a fifth wallpaper; the electronic device draws a second graphic for the target application icon in the first wallpaper to generate a sixth wallpaper, wherein the area of the second graphic is larger than the first graphic, and the distance between the second graphic and the first part is smaller than the distance between the first graphic and the first part; the electronic device draws a third graphic for the target application icon in the first wallpaper to generate a seventh wallpaper; wherein the area of the third graphic is larger than the area of the second graphic, and the third graphic partially overlaps with the display area of the first part corresponding to the first type application in the first wallpaper; the electronic device generates a second wallpaper based on the third display ratio and the second display ratio; and displays the first wallpaper, the fifth wallpaper, the sixth wallpaper, the seventh wallpaper and the second wallpaper in the display interface in sequence.
[0024] According to the second aspect, or any implementation method of the second aspect above, the wallpaper display method also includes: the electronic device receives the user's setting operation on the wallpaper parameters, wherein the wallpaper parameters include: wallpaper style, wallpaper presentation method, application type classification information, colors corresponding to each type of application, and sorting method of each type of application; the electronic device determines the wallpaper parameters in response to the user's setting operation on the wallpaper parameters; the electronic device updates the generated second wallpaper in the display interface according to the wallpaper style, sorting method of each type of application, the third display ratio and the second display ratio and the colors corresponding to each type of application, wherein the user can set the wallpaper parameters in the wallpaper application.
[0025] According to the second aspect, or any implementation of the second aspect above, the wallpaper display method also includes: the electronic device responds to the user's turning on operation of the second switch in the shared data wallpaper setting interface, turning on the shared wallpaper service; wherein the second switch is used to control the start of the personal multi-device shared data wallpaper service; the electronic device responds to the user's setting operation of the shared wallpaper mode, determining the first shared wallpaper mode; the electronic device responds to the user's selection operation of the first shared device, establishing a data wallpaper sharing relationship with the first shared device, wherein the first shared device and the electronic device login account are the same.
[0026] According to the second aspect, or any implementation of the second aspect above, the wallpaper display method also includes: the electronic device receives the usage time of the application sent by the first shared device; when the electronic device receives the user-triggered wallpaper update operation, the electronic device displays the generated target wallpaper in the display interface based on the usage time of each type of application in the electronic device, the usage time of each application in the first shared device, the first shared wallpaper method and the wallpaper parameters.
[0027] According to the second aspect, or any implementation method of the second aspect above, when the electronic device receives a wallpaper update operation triggered by the user, the electronic device generates a target wallpaper based on the usage time of each type of application in the electronic device, the usage time of each application in the first shared device, the first shared wallpaper mode and the wallpaper parameters, including: when the first shared wallpaper mode is fusion, when the electronic device receives a wallpaper update operation triggered by the user, the electronic device accumulates the usage time of each application of the first shared device to the usage time of each type of application in the electronic device; the electronic device displays the generated target wallpaper in the display interface based on the accumulated usage time of each type of application and the preset wallpaper parameters.
[0028] According to the second aspect, or any implementation method of the second aspect above, when the electronic device receives a wallpaper update operation triggered by the user, the electronic device generates a target wallpaper based on the usage time of each type of application in the electronic device, the usage time of each application in the first shared device, the first shared wallpaper mode and the wallpaper parameters, including: when the first shared wallpaper mode is separation, when the electronic device receives a wallpaper update operation triggered by the user, the electronic device determines the eighth display ratio of each type of application in the display interface of the electronic device based on the usage time and presentation method of each type of application in the electronic device; the electronic device determines the ninth display ratio of each type of application in the display interface of the first shared device based on the usage time and presentation method of each application of the first shared device; the electronic device generates a first wallpaper graphic based on the eighth display ratio of each type of application in the display interface of the electronic device; the electronic device generates a second wallpaper graphic based on the ninth display ratio of each type of application in the display interface of the first shared device; the electronic device displays the target wallpaper including the first wallpaper graphic and the second wallpaper graphic in the display interface.
[0029] According to the second aspect, or any implementation of the second aspect above, the wallpaper display method also includes: the electronic device determines a second shared wallpaper mode in response to the user's setting operation on the shared wallpaper mode; the electronic device establishes a data wallpaper sharing relationship with the second shared device in response to the user's request operation to establish a shared data wallpaper with the second shared device, wherein the second shared device and the electronic device login account are different; the electronic device establishes a data wallpaper sharing relationship with the second shared device based on the second shared wallpaper mode, and shares the data wallpaper with the second shared device.
[0030] According to the second aspect, or any implementation of the second aspect above, the electronic device establishes a data wallpaper sharing relationship with the second shared device in response to the user's request operation to establish a shared data wallpaper with the second shared device, including: the electronic device receives the user's first selection operation of the sharing management option in the shared data wallpaper setting interface; the electronic device displays the sharing management interface in response to the first selection operation, wherein the sharing management interface includes a shared device adding option; the electronic device displays at least one shared device to be selected in response to the user's second selection operation of the sharing device adding option; the electronic device sends a data wallpaper sharing request to the second shared device in response to the user's second selection operation of the second shared device; upon receiving the data wallpaper sharing response message sent by the second shared device, the electronic device determines to establish a data wallpaper sharing relationship with the second shared device.
[0031] According to the second aspect, or any implementation of the second aspect above, the wallpaper display method also includes: when the electronic device receives a user-triggered wallpaper update operation, the electronic device sends a first request to the server, wherein the first request carries the identification and account information of the second shared device; the electronic device receives the usage time of each application in the second shared device sent by the server; the electronic device displays the generated target wallpaper in the display interface based on the usage time of each type of application in the electronic device, the application time of the second shared device, the second shared wallpaper mode and the wallpaper parameters.
[0032] The second aspect and any implementation of the second aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the second aspect and any implementation of the second aspect can be referred to the technical effects corresponding to the first aspect and any implementation of the first aspect, and will not be repeated here.
[0033] In a third aspect, the present application provides a computer-readable medium for storing a computer program, wherein the computer program includes instructions for executing the method in the second aspect or any possible implementation of the second aspect.
[0034] In a fourth aspect, the present application provides a computer program comprising instructions for executing the method in the second aspect or any possible implementation of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is a schematic diagram of the hardware structure of an electronic device shown as an example;
[0036] Figure 2 is a schematic diagram of the software structure of an electronic device shown as an example;
[0037] Figure 3This is a schematic diagram of an exemplary wallpaper parameter setting interface for an electronic device;
[0038] Figure 4 This is a schematic diagram of an exemplary wallpaper parameter setting interface for an electronic device;
[0039] Figure 5 This is a schematic diagram of an exemplary wallpaper parameter setting interface for an electronic device;
[0040] Figure 6 This is a schematic diagram of an exemplary wallpaper display interface;
[0041] Figure 7 This is a schematic diagram showing an exemplary interface change for a dynamic wallpaper update;
[0042] Figure 8 This is a schematic diagram showing an exemplary interface change for a dynamic wallpaper update;
[0043] Figure 9 This is a schematic diagram showing an exemplary interface change for a dynamic wallpaper update;
[0044] Figure 10 is a schematic diagram of an exemplary wallpaper style;
[0045] Figure 11 Schematic diagram of wallpaper display interface in different wallpaper presentation modes;
[0046] Figure 12 This is a timing diagram illustrating an exemplary process of sharing wallpaper data across multiple devices of the same user;
[0047] Figure 13 This is a schematic diagram of an interface illustrating an exemplary process of establishing a shared connection between an electronic device and a first shared device;
[0048] Figure 14 This is a schematic diagram of an exemplary wallpaper display interface on an electronic device;
[0049] Figure 15 is a timing diagram illustrating an exemplary process of sharing wallpaper data between different user devices;
[0050] Figure 16 This is a schematic diagram of an interface illustrating an exemplary process of establishing a shared connection between an electronic device and a second shared device;
[0051] Figure 17 This is a schematic diagram of the interface between the two devices when the second shared device responds to the shared connection request;
[0052] Figure 18 The following is a schematic diagram of an exemplary wallpaper interface. DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0054] The term "and / or" in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0055] In the description and claims of the embodiments of this application, the terms "first" and "second" are used to distinguish different objects, rather than to describe a specific order of objects. For example, the terms "first target object" and "second target object" are used to distinguish different objects, rather than to describe a specific order of objects.
[0056] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0057] In the description of the embodiments of this application, unless otherwise specified, "multiple" means two or more. For example, "multiple processing units" means two or more processing units; "multiple systems" means two or more systems.
[0058] Figure 1 1 shows a schematic diagram of the structure of the electronic device 100. It should be understood that, Figure 1 The illustrated electronic device 100 is merely one example of an electronic device, and the electronic device 100 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. Figure 1 The various components shown in the drawings may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.
[0059] The electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor, a gyroscope sensor, an ambient light sensor, a distance sensor, etc.
[0060] Among them, the sensor module 180 can detect parameter information, and the processor 110 determines the posture of the electronic device 100 and the user's touch on the electronic device button based on the parameter information detected by the sensor module 180. The gyroscope sensor can monitor the rotation angle of the electronic device. The processor 110 can determine the rotation angle of the electronic device and the change in the rotation angle compared to the previous moment based on the rotation angle reported by the gyroscope sensor, so that the processor 110 can dynamically display and update the wallpaper based on the rotation angle of the electronic device, for example, by associating the device rotation angle with the degree of fluctuation of the wallpaper area occupied by each type of wallpaper.
[0061] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0062] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0063] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0064] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may 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.
[0065] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0066] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.
[0067] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0068] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0069] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0070] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
[0071] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0072] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0073] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0074] Display screen 194 displays interfaces, images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini-LED, a Micr-OLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc.
[0075] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0076] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0077] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0078] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. For example, in an embodiment of the present application, the processor 110 draws wallpaper based on the user's usage time of each application, and displays the drawn wallpaper on the electronic device desktop when the user triggers the wallpaper display. For another example, in an embodiment of the present application, the processor 110 establishes a data wallpaper sharing relationship with other electronic devices in response to a user request, and when receiving a user-triggered wallpaper update operation, draws the wallpaper based on the usage time of each type of application in its own device and the usage time of each type of application in the shared device, and displays it.
[0079] The internal memory 121 may include a program storage area and a data storage area. The program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.). In addition, the internal memory 121 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0080] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0081] The pressure sensor is used to sense pressure signals and convert them into electrical signals. In some embodiments, the pressure sensor can be installed on the display screen. There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor can include at least two parallel plates made of conductive material. When force is applied to the pressure sensor, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device 100 detects the intensity of the touch operation using the pressure sensor. The electronic device 100 can also calculate the location of the touch based on the detection signal from the pressure sensor. In some embodiments, touch operations applied to the same touch location but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with an intensity less than a first pressure threshold is applied to a short message application icon, an instruction to view short messages is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to a short message application icon, an instruction to create a new short message is executed.
[0082] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100. For example, in an embodiment of the present application, if the electronic device 100 is in lock screen mode or desktop mode and receives a user click on the power button (i.e., the power button), the electronic device 100 may enter screen-off mode.
[0083] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present application, the Android system with a layered architecture is used as an example to illustrate the software structure of the electronic device 100.
[0084] Figure 2 It is a software structure block diagram of the electronic device 100 according to an embodiment of the present application.
[0085] The layered architecture of electronic device 100 divides the software into several layers, each with a clear role and division of labor. Layers communicate with each other via software interfaces. In some embodiments, the Android system is divided into three layers: the application layer, the application framework layer, and the kernel layer, from top to bottom.
[0086] The application layer can include a series of application packages.
[0087] like Figure 2 As shown, the application package may include applications such as camera, gallery, calendar, call, sensor (also known as desktop and wallpaper), games, off-screen display applications and other applications. For example, the camera can realize the shooting of images or videos when adding display styles in the embodiments of the present application. The sensor can generate wallpapers based on the wallpaper parameters set by the user and the usage time data of various applications obtained, and display the generated wallpapers in the display interface. Among them, the display interface can be the lock screen interface or the main interface after unlocking. The sensor can also monitor the posture changes of the electronic device, such as: moving speed, rotation angle, etc.
[0088] The application framework layer provides an application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0089] like Figure 2 As shown, the application framework layer may include a window manager, a view system, a business scenario recognition module, etc.
[0090] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, and send interface information display instructions to the view system.
[0091] The view system includes visual controls, such as controls for displaying text and images. 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 text notification icon can include a view for displaying text and a view for displaying images. The view system can also be used to call the display driver of the corresponding physical display screen based on the interface information display instruction sent by the window manager, and use the display driver to drive the first display screen to display the interface information.
[0092] The phone manager is used to provide communication functions of the electronic device 100. For example, it manages the call status (including answering, hanging up, etc.). The window manager is also called a window manager and is used to provide window management services. It responds to application requests to add window displays and adds them to the corresponding display screen.
[0093] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0094] The kernel layer is the layer between hardware and software. It includes at least the external display driver, the internal display driver, the camera driver, and the sensor driver. The display driver drives the display screen 194, the WiFi driver drives the wireless communication module 160, the audio driver drives the audio module 170, the sensor driver drives the sensor module 180, and the camera driver drives the camera 193.
[0095] Furthermore, the Android system also includes system libraries between the kernel layer and the application framework layer. These libraries can include multiple functional modules, such as the surface manager, media libraries, 3D graphics libraries (e.g., OpenGL ES), and 2D graphics engines (e.g., SGL).
[0096] It is understandable that Figure 2 The components included in the illustrated system framework layer and runtime layer do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or combine or split some components, or arrange the components differently.
[0097] In an embodiment of the present application, the electronic device draws wallpaper based on the usage time of each application by the user, and when the user triggers the wallpaper display, the drawn wallpaper is displayed on the display interface of the electronic device. Not only can the wallpapers displayed by the electronic device be more diversified, but the user can also be prompted to know the usage time of each type of application through the area occupied by each type of wallpaper. In addition, the electronic device can also establish a data wallpaper sharing relationship with other electronic devices. When receiving the user-triggered wallpaper update operation, the wallpaper is drawn based on the usage time of each type of application in its own device and the usage time of each type of application in the shared device, and then displayed. In this way, the user can not only know the usage time of each type of application in his own electronic device, but also know the usage time of each type of application in the shared device, and the content displayed on the wallpaper is richer.
[0098] In the embodiments of this application, the wallpaper display method is described in conjunction with the first and second scenarios. The first scenario involves an electronic device drawing and displaying a wallpaper based on the usage time of various types of applications on the device itself; the second scenario involves an electronic device sharing a wallpaper data with another device, drawing and displaying the wallpaper based on the usage time of various types of applications on the device and the shared device.
[0099] The specific processes of the wallpaper display methods in the above two scenarios are described below in conjunction with specific embodiments.
[0100] The following combination Figures 3 to 9 This document describes a method for displaying a first scene after an electronic device draws a desktop wallpaper based on the usage time of various types of applications on the device. The wallpaper parameters used by the electronic device when drawing the desktop wallpaper can be manually set by the user or set as system default parameters. This embodiment of the present application uses the example of a user manually setting wallpaper parameters.
[0101] For example, when the user sets the wallpaper, he can Figures 3 to 5 The wallpaper parameter setting process shown in the figure sets the wallpaper parameters so that the electronic device can draw the wallpaper according to the wallpaper parameters set by the user.
[0102] Wallpaper parameters may include, but are not limited to: wallpaper style, wallpaper presentation method, application type classification, corresponding colors for each type, and sorting method and direction of each type of application.
[0103] The application type classification methods may include but are not limited to: automatic classification of application types by the system and manual classification of application types by users. When the system automatically classifies application types, it may refer to the classification rules for application types in the "Healthy Use of Mobile Phones" service, and automatically classify the applications installed in the electronic device into three types: entertainment, social, and efficiency. Among them, the entertainment type may include but is not limited to: video, music, games and other applications; the social type may include but is not limited to: phone calls, text messages, and various third-party social applications; the efficiency type may include but is not limited to: maps, calendars, and office software and other applications. When users manually classify application types, they can set the number of classification types and then add corresponding applications for each type. It should be noted that in the actual implementation process, each application can be classified as a type separately.
[0104] Methods for determining the colors corresponding to each type of application may include, but are not limited to: the system automatically determines the colors corresponding to each type of application, and the user manually sets the colors corresponding to each type of application. Among them, the rules for the system to automatically determine the colors corresponding to each type of application may vary depending on the way the application types are divided. In an optional implementation, when the system automatically divides application types, the colors corresponding to each type of application after division may be determined based on the correspondence between types and colors preset in the system. For example, it may be pre-set that the entertainment type corresponds to yellow, the social type corresponds to green, and the efficiency type corresponds to blue. When applications are not divided into types, that is, when each application corresponds to a type, the color corresponding to the application type may be determined based on the color information contained in the application icon. For example: if the yellow color accounts for the largest proportion in a certain application icon, yellow will be determined as the color of the application type corresponding to the application. Application type may also be referred to as type application. The color corresponding to a type application is the color presented in the display area of the type application in the wallpaper.
[0105] Wallpaper style is the visual style of the displayed wallpaper. In the actual implementation process, a variety of wallpaper styles can be pre-set by those skilled in the art. Users can select one of the pre-set wallpaper styles as the wallpaper style used for this wallpaper display according to actual needs. For example, wallpaper styles may include Figure 3 The style 3011, style 3012, etc. shown in the data wallpaper setting interface 301 in a. It should be noted that, Figure 3 Styles 3011 and 3012 shown in a are merely exemplary examples of how irregular curves can be used to represent different application types. Alternatively, different graphics can be used to represent different application types. Of course, regular straight lines can also be used to represent different application types. Wallpaper styles can be flexibly configured by those skilled in the art for user selection and are not specifically limited in this embodiment.
[0106] Wallpaper presentation methods may include but are not limited to: automatic corresponding display and real-time corresponding display. Figure 11 Two different wallpaper presentation methods, automatic corresponding display and real-time corresponding display, are described.
[0107] Different wallpaper presentation methods determine the total time of the entire screen calibration in different ways. The automatic corresponding display method is to determine the total time of the screen calibration based on the user's historical screen usage time information. The real-time corresponding display method is to determine the total time of the screen calibration based on the time set by the user or the system. For example, the user can set the total time of the screen calibration to 24 hours, 12 hours, etc. Figure 11 a. Explain the above two wallpaper presentation methods. Figure 11 As shown in a, W is the pixel value of the screen width, for example, the screen width of the electronic device is W=1440, H is the pixel value of the screen height, for example, the screen height of the electronic device is H=3120, and T is the total usage time of a certain type of application on the day, accurate to minutes (min). For example: if this type of application has been used for two hours on the day, then T=120min, then the calculation method for the area occupied by a certain type of application on the screen is S=W*(H / N*T).
[0108] Among them, when the wallpaper presentation mode is automatic, N is the maximum total screen usage time of the electronic device in the recent period, accurate to minutes. For example, if the day with the most screen usage time in the past 7 days is 8 hours and 20 minutes, then N = 500. When the wallpaper presentation mode is real-time, N is equal to the total number of minutes per day, that is, 24 hours, N = 1440. Of course, this is not limited to this, N can also be equal to the total number of minutes in 12 hours, N = 720.
[0109] When calculating the area occupied by a certain type of application on the screen based on S=W*(H / N*T), when W, H and T are the same, the area occupied on the screen for the same duration will be different due to different wallpaper presentation methods.
[0110] Continuing with the above example, let's take a case where a certain type of application has been used for two hours that day, i.e., T=120min, W=1440, H=3120, N=500 for automatic correspondence, and N=720 for real-time correspondence. We then compare two different wallpaper presentation methods with wallpapers presented for the same duration.
[0111] like Figure 11 As shown in b, when the wallpaper presentation mode is real-time, the screen area occupied by a certain type of application for 2 hours is 256px*W. Figure 11As shown in Figure c, when the wallpaper presentation mode is set to automatic, a certain type of application with a duration of 2 hours occupies a screen area of 794px*W. This shows that different wallpaper presentation modes result in different screen areas occupied by the same duration, and thus different wallpaper presentation effects.
[0112] The sorting methods for each type of application may include, but are not limited to: sorting by time, sorting by system preset order, and sorting by the order in which the applications were opened that day. The sorting methods for each type of application can also be called the sorting methods for the wallpaper graphics part of each type of application.
[0113] For example: When sorting by duration, assuming that the type of applications is divided into first type applications, second type applications, and third type applications, the first type application is used for 2 hours on the same day, the second type application is used for 3 hours on the same day, and the third type application is currently used for 1 hour, then when the wallpaper graphic parts of the three types of applications are presented in the wallpaper, they are sorted in the order of second type applications, first type applications, and third type applications. Among them, one type of application corresponds to one wallpaper graphic part in the wallpaper, and each wallpaper graphic part corresponds to one display area in the wallpaper. The wallpaper graphic part of each type of application is after the display area occupied by the wallpaper and is smaller than the display area of the wallpaper.
[0114] When sorting by system preset order, the system has preset rankings for each type of application. Therefore, you can simply sort each type of application based on the system preset ranking information. For example, if the system presets entertainment first, social second, and efficiency third, the wallpaper graphics of these three types of applications will be ranked in the order of entertainment, social, and efficiency when displayed on the wallpaper.
[0115] When sorting apps by the order in which they were opened on the day, the order in which each type of app was opened must be determined based on the user's operations on the application program on that day. For example, if a user opened the first app in the entertainment category, the second app in the efficiency category, and the third app in the social category on the same day, the wallpaper graphic parts of the three types of apps would be displayed in the wallpaper in the order of entertainment, efficiency, and social.
[0116] The sorting direction of each type of application may include but is not limited to: from bottom to top of the screen, from top to bottom of the screen, from the lower left corner of the screen to the lower right corner of the screen, from the center of the screen to the edge of the screen, or random arrangement.
[0117] Taking the area from the bottom to the top of the screen as an example, when the wallpaper graphic parts of the three types of applications are presented in the wallpaper in the order of entertainment, social, and efficiency, then starting from the bottom of the screen, the wallpaper graphic parts of the three types of applications of entertainment, social, and efficiency will be presented in sequence along the line from the bottom to the top of the screen.
[0118] Taking the area from the lower left corner to the lower right corner of the screen as an example, when the wallpaper graphic parts of three types of applications are presented in the wallpaper in the order of entertainment, social, and efficiency, the wallpaper graphic parts of the three types of applications, entertainment, social, and efficiency, will be presented in order starting from the lower left corner of the screen and along the line from the lower left corner to the lower right corner of the screen.
[0119] The above is the description of the parameters of each wallpaper. In the actual implementation process, Figures 3 to 5 The wallpaper parameter setting process shown in flexibly sets the wallpaper parameters.
[0120] For example, Figure 3 a is the data wallpaper setting interface 301, which includes: multiple wallpaper styles, i.e., visual styles for users to choose from, such as style 3011 and style 3012, multiple application types such as type 1, type 2, and type 3, the number of applications included in each type, a shared data wallpaper switch 302, a usage time reminder switch 303, also known as the first switch, and an "expand all" control 304.
[0121] Shared data wallpaper switch 302 is used to control the opening or closing of the shared data wallpaper service. When a user needs to share application usage time with other devices, they can turn on shared data wallpaper switch 302. The system receives the user's operation of turning on shared data wallpaper switch 302 and displays the shared data wallpaper settings interface. The system receives the user's operation of turning on the shared data wallpaper switch (the second switch) in the shared wallpaper settings interface, and turns on the shared data wallpaper service of the electronic device. For related information about the shared data wallpaper service, please refer to the relevant instructions in the subsequent second scenario.
[0122] The usage time reminder switch 303 is also referred to as the first switch. The first switch is on by default and can be manually turned off by the user during actual use. The system can turn off the first switch in response to the user's turning off operation. After the first switch is turned on, when the screen usage time exceeds the limit of screen time management, that is, the first preset time, a corresponding prompt message will be displayed on the wallpaper to remind the user to use the electronic device in moderation. The first preset time can be a system preset time or a user-preset time, such as 2 hours, 3 hours, or 3.5 hours.
[0123] The "Expand All" control 304 is an entry for the user to trigger the system to display all the classified application types. Figure 3 As shown in a, the user can manually touch the control 304 to trigger the electronic device to display Figure 3The data wallpaper setting interface shown in b displays hidden types of applications, including type 1, type 2, type 3, type 4, type 5, type 6, and the number of applications contained in each type. In addition, it also includes an adding entry 305, and the adding entry 305 is used for users to add types, such as adding type 7, type 8, etc. Not only that, the user can also trigger the system to delete the corresponding type by performing preset operations on a certain type of icon, such as long press operation, double-click operation, etc. For example, the user can long press the icon of type 1 to delete type 1. The system deletes the corresponding type in response to the user's preset operation. By deleting and adding types, the user can adjust the application types divided by the system or the types of applications manually divided by the user. Furthermore, as Figure 3 As shown in FIG. 2 , each type is also provided with an open control 306. The user can click on the open control 306 to trigger the system to display the applications included in the type application corresponding to the open control. Figure 3 As shown in b, the user clicks the open control 306 corresponding to type 1, and the system receives the user's operation of clicking the open control 306 and displays Figure 3 The application settings interface shown in c includes the various applications included in type 1, such as application 1, application 2, and application 3. Each application corresponds to a delete control 307. The user can click the delete control 307 to trigger the system to delete the corresponding application from type 1. In addition, the application settings interface also includes an add application control 308. The user can touch the add application control 308 to add an application to type 1. The system receives the user's touch operation of the add application control 308 and displays the addable applications for the user to select.
[0124] It should be noted that in actual implementation, all applications installed on the electronic device can be categorized, the usage time of all applications can be monitored, and the wallpaper can be drawn based on the usage time of all applications. Alternatively, only some applications installed on the electronic device can be categorized, the usage time of each categorized application can be monitored, and the wallpaper can be drawn based on the usage time of the categorized applications. The user manually sets the applications to be categorized.
[0125] It should be noted that the above Figure 3 a. Figure 3 b and Figure 3 The controls and operation entries mentioned in c are merely illustrative examples. In actual implementation, those skilled in the art can flexibly set the naming and arrangement of the controls and operation entries.
[0126] pass Figure 3 a to Figure 3After completing the application type classification and the settings of the applications included in each type in the user interaction interface shown in c, you can use Figures 4 and 5 The wallpaper parameter setting interface shown in the figure completes the setting of the remaining parameters in the wallpaper parameters.
[0127] After the user completes the application type classification, Figure 3 In step a, the target visual style 3011 is selected as the wallpaper style to be generated. The system receives the user's selection operation on the target visual style 3011 and uses the target visual style 3011 as the style referenced when the wallpaper is displayed. Figure 4 The wallpaper parameter setting interface 401 shown is divided into various types such as type 1, type 2 and type 3. The wallpaper parameter setting interface 401 also includes: a data presentation mode option 4011, a sorting mode option 4012, a direction option 4013 and an "apply" option 4014.
[0128] Data presentation mode option 4011 is used for users to set the wallpaper presentation mode. This option displays the automatic corresponding mode by default. Users can manually click the operation entry on the right side of the automatic corresponding mode to switch the wallpaper presentation mode. The system receives the user's click operation to switch the wallpaper presentation mode. For example: switch the automatic corresponding mode to the real-time corresponding mode. Sorting mode option 4012 is used for users to set the sorting mode for each type of wallpaper area. This option can display sorting by duration by default. Users can manually click the operation entry on the right side of sorting by duration to switch to other sorting modes. The system receives the user's click and long press operation to switch the wallpaper area sorting mode, for example: switch sorting by duration to sorting by system preset order, sorting by the order in which applications are opened on the same day, etc. For specific instructions on various sorting methods, please refer to the above-mentioned relevant instructions.
[0129] Direction option 4013 is used for users to set the arrangement direction of the wallpaper graphic portion of each type of application in the wallpaper. This option displays the sorting direction from bottom to top by default. The user can manually click the operation entry on the right side of the bottom to top operation entry to switch the sorting direction. The system receives the user's operation of clicking the operation entry and switches the sorting direction. For example: the sorting direction from bottom to top can be switched to from top to bottom of the screen, from the lower left corner of the screen to the lower right corner of the screen, from the center of the screen to the edge of the screen, or randomly arranged. For specific instructions on various arrangement directions, please refer to the relevant instructions above.
[0130] pass Figure 4After completing the settings of direction option 4013, sorting method option 4012 and data presentation method option 4011 in the wallpaper parameter setting interface 401 shown in the figure, if the user determines that the system automatically determines the colors corresponding to type 1, type 2 and type 3, the user can directly click the "Apply" option 4014 to trigger the system to apply the above setting parameters to generate wallpaper and display wallpaper. The system receives the user's click operation on the "Apply" option 4014 and determines the wallpaper parameters set by the user as the wallpaper parameters applied when subsequent wallpapers are generated. If the user pre-defines the colors corresponding to each type, Figure 5 As shown in , the user can select the type to be set. The system receives the user's selection operation and displays the color selection panel 501. The user selects a color in the color selection panel 501 as the color corresponding to the type. The system receives the user's selection operation on the color in the color selection panel 501 and determines the color selected by the user as the color corresponding to the type. Repeat this operation and the user can set the colors corresponding to type 1, type 2 and type 3. Figure 6 As shown in the schematic diagram of the wallpaper display interface of b, the user can set the fill color in 601 corresponding to type 1, the fill color in 602 corresponding to type 2, and the fill color in 603 corresponding to type 3. It should be noted that the color set for each type can be a solid color, a gradient color, or a color with transparency. In addition, the wallpaper background can also be set to an image. After the wallpaper graphic part corresponding to each type is filled with the corresponding color, the local area of the image serving as the wallpaper background is blocked. Among them, the type can also be called a type application. For each type of application, the area occupied by the corresponding wallpaper graphic part in the wallpaper is the display area corresponding to the type of application in the wallpaper.
[0131] Reference Figure 3-Figure 5 After the user completes the wallpaper parameter settings, when the user uses the electronic device, upon receiving a user-triggered wallpaper update operation, the electronic device determines, for each type of application, the display ratio of the wallpaper graphic portion of the type of application in the display interface based on the user's usage time of each type of application and the automatically corresponding wallpaper presentation method. Based on the display ratio, the area ratio of the wallpaper graphic portion in the wallpaper can be determined, thereby determining the display area of the wallpaper image portion in the wallpaper. The wallpaper is generated based on the ratio of the wallpaper graphic portion of each type of application in the display interface, the color corresponding to each type of application, the wallpaper style 3011, the sorting method by duration, and the arrangement direction of the type of applications from bottom to top; and the generated wallpaper is displayed on the display interface.
[0132] The user-triggered wallpaper update operation may include but is not limited to: exiting from the application running in the foreground, determining that a user-triggered wallpaper update operation is received when receiving a screen-on instruction from the user in the screen-off state, etc.
[0133] like Figure 6As shown in Figure a, before the user uses the phone application to make a call, the system determines the display ratio of the usage time of the first type of application, the second type of application and the third type of application in the display interface based on the user's usage time of the first type of application, the second type of application and the third type of application and the wallpaper presentation method, and determines the display area occupied by the wallpaper graphic part corresponding to each type of application in the display interface based on the display ratio corresponding to each type of application, fills the preset color in each display area, that is, the wallpaper area described below, and displays the generated wallpaper in the display interface after the wallpaper is generated. Among them, the wallpaper graphic part is Figure 6 601, 602 and 603 shown in a. The wallpaper graphic part is the wallpaper area described below.
[0134] pass Figure 6 As shown in the schematic diagram of the wallpaper display interface shown in a, the wallpaper displays the wallpaper areas corresponding to the user-preset types 1, 2, and 3. The fill color in the wallpaper area 601 of type 1 is the color pre-set by the user for type 1, the fill color in the wallpaper area 602 of type 2 is the color pre-set by the user for type 2, and the fill color in the wallpaper area 603 of type 3 is the color pre-set by the user for type 3. The usage time corresponding to each type is type 1>type 2>type 3. Since the wallpaper parameters obtained by setting are sorted by time and the type is arranged from bottom to top, as shown in the following example Figure 6 As shown in Figure a, the wallpaper areas corresponding to type 1>type 2>type 3 are sorted in sequence, and the wallpaper areas corresponding to type 1>type 2>type 3 are arranged and displayed from the bottom of the desktop. As shown in Figure 6b, when the user detects that the phone application is started, the usage time of the phone application is monitored. When the user exits the phone application after completing a call using the phone application, the electronic device detects that the phone application has exited, triggering a wallpaper update. The system obtains the usage time of this phone application, accumulates the usage time to the application type corresponding to the phone application, i.e., type 2, and updates the usage time corresponding to each application type. Based on the updated usage time, the wallpaper is drawn and displayed in the display interface. Specifically, the system determines the area ratio of the wallpaper areas of the first type application, the second type application, and the third type application in the wallpaper based on the user's usage time of the first type, the second type, and the third type application and the wallpaper presentation method, and fills the preset color in each wallpaper area to generate the wallpaper and display the generated wallpaper in the display interface. Among them, the schematic diagram of the updated wallpaper display interface is as follows: Figure 6As shown in b, the wallpaper area corresponding to the user-preset type 1, type 2, and type 3 is displayed in the wallpaper. The fill color in the wallpaper area 601 of type 1 is the color pre-set by the user for type 1, the fill color in the wallpaper area 602 of type 2 is the color pre-set by the user for type 2, and the fill color in the wallpaper area 603 of type 3 is the color pre-set by the user for type 3. The usage time corresponding to each type is type 1>type 2>type 3. Since the wallpaper parameters obtained by setting are sorted by time and the wallpaper area is arranged from bottom to top, as shown in Figure 6 As shown in b, the wallpaper areas corresponding to type 1> type 2> type 3 are sorted in order, and the wallpaper areas corresponding to type 1> type 2> type 3 are arranged from the bottom of the desktop. Figure 6 a and Figure 6 As can be seen from b, the proportion of the area of type 2 displayed on the desktop becomes larger, and the proportion of the larger area is converted from the call duration of the phone application.
[0135] It should be noted that Figure 6 In the example, as the usage time of a certain type of application increases, the area ratio of the wallpaper graphic part of the wallpaper of the type of application presented in the wallpaper also increases. In an optional way, the wallpaper generation logic can also be set to change as the usage time of a certain type of application increases, and the area ratio of the wallpaper graphic part of the wallpaper of the type of application presented in the wallpaper decreases accordingly. In another optional way, the wallpaper generation logic can also be set to change with the usage time of a certain type of application, and different graphics are used in the wallpaper to represent the usage time of this type of application. For example: if the usage time of a certain type of application is less than the A value, the first preset graphic is used to represent the usage time of this type of application. For example: when the usage time of a certain type of application is updated to be greater than the A value, the second preset graphic is used to represent the usage time of this type of application, and the first preset graphic and the second preset graphic occupy the same area in the display interface. Figure 6The example above uses the direct display of the target wallpaper image frame after receiving a wallpaper update triggering operation as an example. In actual implementation, after receiving a wallpaper update triggering operation from the user, dynamic changes in the wallpaper update can also be displayed on the desktop. Dynamic changes in wallpaper updates can include, but are not limited to, the following two methods: Method 1: The usage duration corresponding to each application type increases from 0, and the dynamic change stops after reaching the actual usage duration, as indicated by a first preset number of wallpaper image frames, and the target wallpaper image frame is ultimately displayed on the display interface. Method 2: The dynamic change in wallpaper updates can also be: The usage duration corresponding to each application type increases from the usage duration before the update, and the dynamic change stops after reaching the actual usage duration, as indicated by a second preset number of wallpaper image frames, and the target wallpaper image frame is ultimately displayed on the desktop. Each wallpaper image frame is a frame of the display interface displaying the wallpaper. The specific values of the first and second preset numbers can be set by those skilled in the art based on actual needs, and the first and second preset numbers can be the same or different. Typically, wallpaper animations last between 0.5 and 3 seconds, with a frame rate between 60 and 90 fps. For example, for a 1.5-second duration at 60 fps, the frame rate for wallpaper animation can be set to 90. The frame rate for wallpaper animation can be adjusted based on the data changes associated with wallpaper updates. For example, if the usage of a particular application increases significantly and the dynamic changes are more dramatic, the frame rate can be adjusted appropriately to ensure a smooth transition. Specific rules for this change can be determined by those skilled in the art based on actual needs.
[0136] For the second method, after the electronic device detects that the phone application is turned on, it records the call duration. After detecting that the phone application is exited after the phone is hung up, it displays the wallpaper update animation. The interface change diagram of the dynamic wallpaper update corresponding to the wallpaper update animation is as follows Figure 7 As shown. Figure 7 As shown, in this example, the dynamic update process of wallpaper is described by using 3 frames of wallpaper images. Figure 7 The first wallpaper image frame, sorted on the left, represents the display interface before the phone app is activated. As the wallpaper dynamically updates, the second-type wallpaper area 702 becomes larger in the display interface, presenting the second wallpaper image frame. As the wallpaper dynamically updates further, the second-type wallpaper area matches the actual duration of that type of app, presenting the third wallpaper image frame, the target wallpaper image frame. As the actual duration of the second-type app increases, this dynamic wallpaper change process demonstrates the gradual enlargement of the second-type wallpaper area.
[0137] The wallpaper dynamic update method may include the following steps:
[0138] S1: The electronic device determines wallpaper data before updating.
[0139] After the electronic device detects that the phone application is activated, it records the call duration. After detecting that the call is hung up and the phone application is exited, the method for dynamically updating the wallpaper is executed. The wallpaper data before the update is the proportion of the wallpaper area of each type of application in the display interface before the electronic device detects that the phone application is activated.
[0140] Among them, each type of application corresponds to a usage duration. The usage duration can be used to determine the display ratio of this type of application in the display interface, and the display ratio of the type of application in the display interface can be used to determine the area ratio of the wallpaper graphic part of this type of application in the wallpaper.
[0141] S2: The electronic device compares the proportions of wallpaper areas of various types of applications contained in the wallpaper data before and after the update on the display interface, and determines a target wallpaper area whose proportion has changed, and an amount of change in the proportion of the target wallpaper area;
[0142] The target wallpaper area is a wallpaper graphic portion of a type of application in a display interface that has a changing usage time.
[0143] S3: The electronic device adds the change amount of the first preset proportion to the proportion of the target wallpaper area in the wallpaper data before updating to generate updated first wallpaper data.
[0144] S4: The electronic device generates a third desktop wallpaper according to the updated first wallpaper data and wallpaper parameters.
[0145] Among them, wallpaper parameters include: the color corresponding to each type of application, wallpaper style, sorting method and sorting direction of each type of application, etc. Wallpaper parameters can be manually preset by the user or set by the system default. Figure 7 Sort of wallpaper image frame in the middle.
[0146] In the actual implementation process, each wallpaper area can be drawn in the display interface according to the wallpaper style, the sorting method of each type of application, and the display ratio of the wallpaper area of each type of application in the display interface; then, according to the preset correspondence between each type of application and color, the wallpaper area is filled with color to generate wallpaper.
[0147] S5: The electronic device adds the change amount to the proportion of the target wallpaper area in the wallpaper data before the update to generate updated second wallpaper data.
[0148] S6: The electronic device generates a second wallpaper according to the updated second wallpaper data and wallpaper parameters.
[0149] Among them, the updated wallpaper data is the display ratio of the wallpaper area of each type of application in the display interface after the electronic device detects the exit of the phone application. Figure 7 Sort the wallpaper images in the frame on the right.
[0150] S7: The electronic device displays the wallpaper before updating, the third wallpaper, and the second wallpaper in sequence on the display interface.
[0151] Among them, the wallpaper before the update is Figure 7 The wallpaper image frame that is sorted on the leftmost side may also be referred to as the first wallpaper.
[0152] It should be noted that each wallpaper image frame representing the dynamic wallpaper update can be fully drawn before being displayed, or the next wallpaper image frame can be drawn while the previous wallpaper image frame is displayed. In the embodiments of this application, there is no specific restriction on the timing of drawing each wallpaper image frame. The above description only uses the phone application as an example. In actual implementation, the operation of opening and closing any application can trigger the above process.
[0153] For method one, Figure 7 In the sorting, a frame of display interface without wallpaper is displayed before the leftmost wallpaper image frame.
[0154] In addition to the above-mentioned methods 1 and 2, which achieve the effect of dynamic update by gradually increasing the wallpaper area corresponding to the application type, the dynamic update effect of the wallpaper can also be generated by combining the amplitude of the user shaking the electronic device. For example: in the process of updating the wallpaper, when it is detected that the shaking angle of the electronic device is greater than the first preset angle, a dynamic effect is presented in which the wallpaper area gradually becomes larger, and the liquid surface in the wallpaper area shakes with the electronic device. When it is detected that the shaking angle is reduced to the first preset angle, the liquid surface shaking effect stops and the liquid surface gradually returns to calm. The greater the shaking angle of the electronic device, the more obvious the fluctuation of the liquid surface.
[0155] An exemplary interface change diagram of dynamic wallpaper update is as follows: Figure 8 As shown in FIG, the schematic diagram exemplarily shows that during the dynamic wallpaper update process, when the user shakes the electronic device, the dynamic wallpaper update animation displayed in combination with the shaking angle of the electronic device is detected. Figure 8As shown, the dynamic wallpaper update animation includes three key wallpaper image frames, which are arranged from left to right as the first wallpaper image frame, the second wallpaper image frame, and the third wallpaper image frame. Each wallpaper image frame includes a wallpaper area 801 corresponding to the first type, a wallpaper area 802 corresponding to the second type, and a wallpaper area 803 corresponding to the third type. The first wallpaper image frame is the wallpaper before the update, the second wallpaper image frame is the wallpaper image of the liquid surface in each wallpaper area in the maximum fluctuation state when the electronic device is shaken, and the third wallpaper image frame is the target wallpaper image frame after the liquid surface returns to calm. It should be noted that each time the electronic device is shaken at an angle greater than the first preset angle, a key wallpaper image frame included in the animation will be generated, and there will be a transition animation effect between adjacent key wallpaper image frames. The specific style of the transition animation can be set by those skilled in the art.
[0156] like Figure 8 As shown, the wallpaper areas of different types in the second wallpaper image frame squeeze each other, and the middle wallpaper area occupies the wallpaper areas above and below. The wallpaper areas of different types in the second wallpaper image frame can also not squeeze each other, but instead show an orderly growth state with undulating liquid levels.
[0157] The wallpaper dynamic update method may include the following steps:
[0158] S1: When updating a wallpaper image, the electronic device displays the wallpaper before the update.
[0159] The wallpaper before the update can also be called the first wallpaper, which is equivalent to Figure 8 The first wallpaper image in the wallpaper frame.
[0160] S2: When the electronic device detects that the user has shaken the electronic device, the electronic device determines the shaking angle of the electronic device.
[0161] S3: When the shaking angle is greater than the first preset angle, the electronic device updates and displays the generated fourth wallpaper on the display interface according to the shaking angle and the display proportions of each type of application on the display interface.
[0162] Among them, the display proportions of various types of applications in the display interface used in this step are the display proportions in the updated wallpaper data. The updated wallpaper data is based on the increase in the usage time of a certain type of application and the display proportions of each type of application in the display interface determined after receiving the user's operation to trigger the wallpaper update.
[0163] The display ratio of each type of application in the display interface is the display ratio of the wallpaper graphic portion of the type of application in the display interface. Since wallpaper parameters are preset in the wallpaper application, the electronic device can generate a fourth desktop wallpaper based on the display ratio of each type of application in the display interface and the preset wallpaper parameters, and display the generated fourth wallpaper on the display interface. For the specific method of generating the fourth wallpaper based on the display ratio of each type of application in the display interface and the wallpaper parameters, please refer to the relevant description above and will not be repeated here.
[0164] In this step, the electronic device redetermines the display proportion of each type of application in the display interface based on the shaking angle and the display proportion of each type of application in the display interface, and generates a fourth wallpaper based on the redetermined display proportion of each type of application in the display interface.
[0165] The wallpaper parameters include, but are not limited to, the colors corresponding to each type of application, the wallpaper style, and the sorting and orientation of each type of application. The first preset angle can be set by those skilled in the art based on actual needs and is not specifically limited in the embodiments of this application. The shaking angle of the electronic device can be detected by a gravity sensor or gyroscope in the electronic device.
[0166] The fourth wallpaper is Figure 8 The wallpaper in the second wallpaper image frame in the fourth wallpaper. As shown in the second wallpaper image frame, the fourth wallpaper contains three types of applications. Each type of application corresponds to a wallpaper graphic portion in the fourth wallpaper. Each wallpaper graphic portion occupies a certain area ratio in the fourth wallpaper and displays a different color. The wallpaper graphic portion corresponds to a type of application, such as the first portion, the second portion, and the third portion.
[0167] S4: When it is detected that the shaking angle of the electronic device is less than the first preset angle, the generated second wallpaper is updated and displayed according to the proportion of each type of application in the display interface in the updated wallpaper data.
[0168] By default, the system generates a second wallpaper based on the proportion of each type of application in the display interface in the updated wallpaper data and the preset wallpaper parameters.
[0169] Among them, the second wallpaper is Figure 8 The wallpaper in the third wallpaper image frame can also be called an updated wallpaper.
[0170] Optionally, when the shaking angle is greater than the first preset angle, updating and displaying the generated fourth wallpaper in the display interface according to the shaking angle and the display proportion of each type of application in the display interface may include the following sub-steps:
[0171] S31: Determine the wallpaper data before updating.
[0172] After the electronic device detects that the phone app is activated, it records the call duration. After detecting that the call is hung up and the phone app is exited, the method for dynamically updating the wallpaper is executed. The wallpaper data before the update is the percentage of the usage time of each type of application displayed on the display interface before the electronic device detects that the phone app is activated. The display percentage can be determined based on the usage time of the corresponding application type and the wallpaper presentation method.
[0173] Updated wallpaper data is determined, wherein the updated wallpaper data is a proportion of wallpaper areas of various types of applications on the desktop after the electronic device detects that the phone application has exited.
[0174] S32: Compare the display proportions of each type of application in the display interface in the wallpaper data before and after the update, and determine the target type of application whose display proportion has changed, and the change amount of the display proportion of the type of application in the display interface.
[0175] Among them, the area ratio of the wallpaper graphic part of the type of application in the generated wallpaper can be determined through the display proportion of the type of application in the display interface.
[0176] S33: adding the change amount of the second preset ratio to the display ratio of the target type application in the wallpaper data before updating to generate third wallpaper data.
[0177] The second preset ratio can be flexibly set by those skilled in the art, for example, to 50%, 60% or 80%.
[0178] S34: Determine fourth wallpaper data according to the shaking angle and the third wallpaper data.
[0179] The third wallpaper data includes the display proportion of each type of application in the display interface.
[0180] S35: updating and displaying the generated fourth wallpaper in the display interface according to the fourth wallpaper data and the wallpaper parameters.
[0181] For example: based on the display ratio of each type of application in the fourth wallpaper data, the wallpaper graphic part can be drawn in the display interface; based on the correspondence between each type of application and color contained in the wallpaper parameters, each wallpaper graphic part can be filled with the corresponding color to generate the fourth wallpaper, and the fourth wallpaper can be displayed in the display interface.
[0182] In addition to the above-mentioned generation of wallpaper update animation in combination with the shaking angle of the electronic device when the shaking operation of the electronic device is detected, the wallpaper update animation can also be generated in combination with the speed of the page turning when the user is detected to be swiping left and right to turn the page. The method of updating the animation can refer to the method of generating wallpaper update animation in combination with the shaking angle, and will not be repeated again. The above is only explained by taking the phone application as an example. In the actual implementation process, any application can trigger the dynamic update change process of the wallpaper after it is opened and closed. During the dynamic update change process of the wallpaper, when the user shakes the electronic device, swipes left and right to turn the page, etc., it can trigger the system to execute the dynamic update process of the upper and lower wallpapers.
[0183] In addition to the above-mentioned methods 1 and 2, which gradually increase the wallpaper area corresponding to the application type to achieve the dynamic update effect, the wallpaper can also be dynamically updated to achieve an animation effect that spreads from the application to the wallpaper area corresponding to the application type. Figure 9 This is a schematic diagram showing the interface changes during the dynamic wallpaper update process, which is centered on the application and spreads to the wallpaper area.
[0184] After the application 901 is completed, the user exits the application 901 to trigger the electronic device to update the wallpaper. During the wallpaper update process, the interface changes as follows: Figure 9 As shown, there are five wallpaper image frames, each containing three wallpaper areas corresponding to different types: wallpaper area 902 corresponding to type 1, wallpaper area 903 corresponding to type 2, and wallpaper area 904 corresponding to type 3. Application 901 belongs to type 2. The five wallpaper image frames are displayed sequentially, as can be seen in the animation effects presented by the five wallpaper image frames. Starting with the second wallpaper image frame, a cursor 905 is displayed on the icon of application 901, centered on application 901. As shown by the changes presented in the third and fourth wallpaper image frames, cursor 905 gradually increases in size and spreads toward wallpaper area 903 corresponding to type 2. Finally, as shown in the wallpaper presented in the fifth wallpaper image frame, the wallpaper area corresponding to the newly added usage time of application 901 is added to wallpaper area 903 corresponding to type 2. A wallpaper area is the graphic portion of the wallpaper corresponding to a specific type.
[0185] This kind of animation effect, which spreads from the application to the wallpaper area corresponding to the application type, helps users understand the direction of the application time addition. Figure 9 In the above description, the animation effect is described as including five wallpaper image frames. In actual implementation, the animation effect may also be set to include four wallpaper image frames or six wallpaper image frames.
[0186] The method for generating an animation that is centered on an application and spreads to a wallpaper area of a type corresponding to the application may include the following steps:
[0187] S1: Get the wallpaper before the update.
[0188] After the electronic device detects that application 901 is turned on, it records the usage time of application 901. After detecting that application 901 is exited, it displays a dynamic wallpaper update animation that spreads from the application to the wallpaper area of the type corresponding to the application. The wallpaper data before the update is the display ratio of the wallpaper graphic part of each type of application in the display interface before the electronic device detects that application 901 is turned on. The wallpaper before the update can also be called the first wallpaper, which is equivalent to Figure 9 The wallpaper in the first frame wallpaper image.
[0189] S2: Draw a first graphic for the target application icon in the wallpaper before updating to generate a fifth wallpaper.
[0190] The fifth wallpaper corresponds to Figure 9 The wallpaper in the second frame wallpaper image.
[0191] S3: Draw a second graphic for the target application icon in the wallpaper before updating to generate a sixth wallpaper.
[0192] The sixth wallpaper corresponds to Figure 9 The wallpaper in the third frame wallpaper image.
[0193] The area of the second graphic is larger than that of the first graphic, and the distance between the second graphic and the target wallpaper area corresponding to the target application icon, i.e., the target wallpaper graphic part, is smaller than the distance between the first graphic and the target wallpaper area corresponding to the target application icon. Figure 9 The target wallpaper area is the application 901 shown in FIG. Figure 9 Wallpaper area 903 shown in .
[0194] S4: Draw a third graphic for the target application icon in the wallpaper before updating to generate a seventh wallpaper.
[0195] Seventh wallpaper corresponding Figure 9 The wallpaper in the fourth frame wallpaper image.
[0196] Among them, the area of the third graphic is larger than the second graphic, and the third graphic and the target wallpaper area are Figure 9 The first, second and third graphics represent three graphic styles at different times. These three graphics can be set to Figure 9 The cursor style shown in the figure can be set to a graphic style filled with gradient colors, or can be set to a graphic style such as a water drop shape. The specific style of the graphic is not limited in the embodiment of the present application.
[0197] S5: Generate a second wallpaper based on the display proportions of each type of application in the display interface and the wallpaper parameters preset by the user.
[0198] Second wallpaper corresponding Figure 9 The wallpaper in the fifth frame wallpaper image.
[0199] S6: The wallpaper before updating, the fifth wallpaper, the sixth wallpaper, the seventh wallpaper and the second wallpaper are displayed in sequence on the display interface.
[0200] It should be noted that the above description is based on the example of displaying five key wallpaper images frame by frame after they are all drawn. In actual implementation, this is not limited to this. The next key wallpaper image can also be drawn while the previous wallpaper image is displayed. It should be noted that wallpaper animation effects can contain dozens or even hundreds of wallpaper images. The embodiment of this application only shows five key wallpaper images as an example.
[0201] It should be noted that the above is only an exemplary example of an animation that spreads from an application to the wallpaper area of the type corresponding to the application. In the actual implementation process, the specific form of the animation can be flexibly set by technical personnel in this field, and it is sufficient to show the animation effect of spreading from the application to the wallpaper area corresponding to the application.
[0202] In an optional embodiment, after the electronic device completes the update of the dynamic wallpaper, when the screen usage time monitoring service is turned on for the electronic device, when it is monitored that the screen usage time exceeds a first preset time, a first prompt message is displayed, wherein the first prompt message is used to prompt the user to restrain the use of the electronic device. For example, the first prompt message can be set to "continuous use of the electronic device for more than 2 hours". The first prompt message can be displayed at any position on the desktop, for example: in the area of the display interface that is not occupied by the wallpaper area, and for example: in the wallpaper area that occupies the largest proportion in the display interface, etc. The first prompt message can also more specifically prompt the user that the use of a preset application type has exceeded the restraint time, such as "continuous use of XX type application for more than 2 hours", or directly display that the use of a certain application has exceeded the restraint time, such as "continuous use of application A for more than 2 hours".
[0203] It should be noted that the above is only an example of using irregular curves to divide each wallpaper area, that is, each wallpaper graphic part, to illustrate the displayed wallpaper. In the actual implementation process, the wallpaper style can also be called wallpaper style and is not limited to this. Figure 10 The style of dividing each wallpaper area with regular curves as shown in a, Figure 10 The gentle curve shown in b divides the style of each wallpaper area. Figure 10As shown in c, different graphics are used to represent different wallpaper styles. Regardless of the style, under the same duration and data presentation method, the area of the wallpaper area displayed on the screen is equal. The area occupied by the wallpaper area on the screen needs to be determined in combination with the screen size and the wallpaper presentation method included in the wallpaper parameters. The screen size is as follows: Figure 11 As shown in a, W is the pixel value of the screen width, H is the pixel value of the screen height, and the total screen calibration time N can be determined by the wallpaper presentation method. The calculation method of the area occupied by a certain type of application on the screen can be expressed as S=W*(H / N*T), where T is the usage time of this type of application, and the units of T and N can both be set to minutes.
[0204] Figure 11 Schematic diagram of wallpaper display interface under different wallpaper presentation modes. Figure 11 a is the definition diagram of the length and width of the electronic device screen, Figure 11 b. Figure 11 c are respectively drawn in an automatic corresponding manner and in a real-time corresponding manner to represent wallpaper interfaces of the same duration, for example, 2 hours. In the automatic corresponding manner, the wallpaper area 1101 corresponding to 2 hours is as shown in FIG. Figure 11 As shown in b, the wallpaper area 1102 corresponding to 2 hours in the real-time corresponding mode is as follows: Figure 11 As shown in b. Figure 11 b. Figure 11 As can be seen in c, different wallpaper presentation modes have different effects. For the description of automatic and real-time mapping modes, please refer to the above related descriptions and will not be repeated here.
[0205] The above describes the scheme for displaying the desktop wallpaper after the electronic device draws it based on the wallpaper parameters set by the user and the usage time of various types of applications in the device itself. In the actual implementation process, the electronic device can also share the data wallpaper with other devices, and then draw the wallpaper based on the usage time of various types of applications in the electronic device and the shared device. Furthermore, the other devices that share the data wallpaper with the electronic device can be other devices with the same account as the electronic device, that is, sharing the data wallpaper between multiple devices, and can also be other devices with different accounts as the electronic device and sharing the data wallpaper with multiple users and multiple devices. Refer to the following respectively Figures 12 to 14 This section explains how wallpapers are displayed when a single user shares data wallpapers between multiple devices. Figures 15 to 18 This section explains how wallpapers are displayed when data wallpapers are shared across multiple user devices.
[0206] Figure 12This is a timing diagram illustrating an exemplary process of sharing wallpaper data across multiple devices of the same user. As shown in the timing diagram, device 1 is an electronic device, and device 2 is the first sharing device to establish a sharing relationship with the electronic device. The timing diagram process includes the following steps:
[0207] S1: Device 1 turns on the shared wallpaper service in response to the user turning on the second switch in the shared data wallpaper setting interface.
[0208] In this example, the user has already set wallpaper parameters in advance in the device 1. For the relevant description of setting wallpaper parameters in the device 1, refer to the relevant description in the previous embodiment, which will not be repeated here.
[0209] Figure 13 FIG. 1 is an interface diagram illustrating an exemplary process of establishing a shared connection between an electronic device and a first shared device. Figure 13 As shown in Figure 13a, the shared data wallpaper service is disabled by default in the data wallpaper setting interface 1301. The user can manually click on the shared data wallpaper activation entry 13011 shown in Figure 13a. The electronic device receives the user's click on the shared data wallpaper activation entry 13011 and displays the shared data wallpaper setting interface 1032 shown in Figure 13b. The shared data wallpaper setting interface 1302 includes a shared data wallpaper switch 13021, a personal multi-device sharing option 13022, a share with others option 13023, and shared wallpaper effects, also known as shared wallpaper display modes, including a fusion mode 13024 and a separation mode 13025. The shared data wallpaper setting interface 1302 includes the shared data wallpaper switch 13021, which is disabled by default. When the shared data wallpaper switch 13021 is disabled by default, the other options in the shared data wallpaper setting interface 1302 are disabled.
[0210] The shared data wallpaper switch 13021 is used to control the shared data wallpaper service to be turned on or off. After turning it on, the user can convert the application usage data on multiple personal devices into wallpapers, or generate data wallpapers together with the application usage data on other people's devices. After the personal multi-device sharing option 13022 is turned on, the user can select other personal devices to establish a data wallpaper sharing relationship with the current device, and the application usage data of multiple devices that have established a sharing relationship will be converted into the wallpaper of the device. After the share with others option 13023 is turned on, the user can select other people's devices to establish a data wallpaper sharing relationship with the current device. After the sharing relationship is established, the application usage data of the other device will be converted into the wallpaper of the user's current device, and at the same time, the application usage data of the user's current device will also be converted into the wallpaper of the other device.
[0211] When the fusion mode 13024 is enabled, the electronic device can automatically merge the same type of application data reported by multiple devices. When the separation mode 13025 is enabled, the electronic device displays the application data reported by multiple devices independently.
[0212] like Figure 13 As shown in Figure c, the user can turn on the shared data wallpaper switch 13021. In response to the user turning on the shared data wallpaper switch 13021, which can also be called the second switch, the electronic device turns on the shared wallpaper service. At this time, all other options in the shared data wallpaper setting interface 1302 are set to an operational state. The user selects the personal multi-device sharing option 13022 and selects the shared wallpaper effect as needed, such as the fusion mode 13024.
[0213] S2: The device 1 determines a first wallpaper sharing mode in response to the user's setting operation on the wallpaper sharing mode.
[0214] The setting operation may include but is not limited to: selecting the option corresponding to the shared wallpaper mode. The first shared wallpaper mode may include but is not limited to Figure 13 In this specific example, the fusion mode and the separation mode are shown in FIG.
[0215] S3: Device 1 determines each device with the same login account.
[0216] Device 1 can upload the login account to the server, and the server will search for the device information of each device bound to the login account based on the login account sent by device 1. The server will feedback the found device information to device 1, where the device information may include but is not limited to: device model. After device 1 obtains the device information fed back by the server, it displays the information of each device in the device selection interface for the user to select the device 2 to be shared.
[0217] S4: In response to the user's selection operation on device 2, device 1 sends a data wallpaper sharing request to device 2.
[0218] Users can Figure 13 In the shared data wallpaper setting interface shown in c, click on the "My Device" entry 13026, and the electronic device responds to the user's click operation on the "My Device" entry 13026 and displays Figure 13The device selection interface shown in d contains information about each device available for the user to select, including but not limited to: device model and whether data wallpaper sharing is enabled on the device. The user can select one or more devices with data wallpaper sharing enabled to establish a data wallpaper sharing relationship with the current device. In this specific example, the user selects device 2 corresponding to device model 2. The current device is device 1, and device 2 can also be called the first shared device.
[0219] The request for sharing data wallpaper carries the device identification of device 1.
[0220] In response to the user's selection operation on the first sharing device, device 1 establishes a data wallpaper sharing relationship with the first sharing device, wherein the registration account of the first sharing device is the same as that of device 1.
[0221] S5: Device 2 sends a request response message to device 1.
[0222] After device 1 receives the request response message sent by device 2, the data wallpaper sharing relationship between the two is successfully established.
[0223] S6: When the device 2 receives a wallpaper update operation triggered by the user, the device 2 updates the generated wallpaper on the display interface according to the usage time of each application in the device 2.
[0224] Device 2 updates the generated wallpaper on the display interface based on the wallpaper parameters preset by the user and the usage time of each application in device 2. The method for device 2 to update the generated wallpaper can be referred to the method for an electronic device to update the generated wallpaper based on the usage time of its own applications, and will not be repeated here.
[0225] For example, after device 2 makes a call through the phone application, exiting the phone application triggers device 2 to update its wallpaper. The wallpaper updated on device 2 will include wallpaper areas corresponding to type 1, type 2, and type 3.
[0226] S7: Device 2 sends the usage time of each application to device 1.
[0227] After device 2 completes the wallpaper update of its own device, it sends the usage time of each application installed on device 2 to device 1.
[0228] S8: When device 1 receives a wallpaper update operation triggered by the user, it updates and displays the generated wallpaper in the display interface according to the usage time of each of its own applications and the usage time of each application sent by device 2.
[0229] A feasible way to update the generated wallpaper for display may be: when the user triggers the wallpaper update operation, the display ratio of the wallpaper area of each type of application in the display interface is determined based on the user's usage time of each type of application, the usage time of the application of the first shared device, i.e., device 2, the wallpaper presentation method, and the first shared wallpaper method. The wallpaper is generated based on the display ratio of the wallpaper area of each type of application in the display interface and the wallpaper parameters preset by the user, such as the color corresponding to each type of application, the wallpaper style, the sorting method and direction of each type of application; and the generated wallpaper is displayed in the display interface of device 1. For the specific method of device 1 generating wallpaper based on the display ratio of the wallpaper area of each type of application in the display interface and the wallpaper parameters preset by the user, please refer to the relevant description in the aforementioned embodiment and will not be repeated here.
[0230] Similarly, the usage time of each application in device 1 can also be sent to device 2. When the wallpaper update is triggered again on device 2, device 2 updates the generated wallpaper in the display interface of device 2 based on the usage time of each application sent by device 1 and the usage time of each application in device 2.
[0231] For example, Figure 14 This is a schematic diagram of the wallpaper display interface on the device 1 side. For example, after device 1 makes a call through the phone application, exiting the phone application triggers device 1 to update the wallpaper. Since device 1 and device 2 have established a data wallpaper sharing relationship, and the first wallpaper sharing method selected by the user is fusion, device 1 accumulates the usage time of each application of device 2 to the usage time of each type of application on its own device; based on the accumulated usage time of each type of application, the wallpaper parameters are preset to determine the display ratio of the wallpaper area of each type of application in the display interface. Figure 14 a is the wallpaper drawn by device 1 based on the usage time of various types of applications on its own device before device 1 receives the usage time of various applications sent by the device. The drawn wallpaper includes wallpaper area 1501 corresponding to type 1, wallpaper area 1502 corresponding to type 2, and wallpaper area 1503 corresponding to type 3. Figure 14 b is the wallpaper that device 1 creates after establishing a data wallpaper relationship with device 2. After device 1 receives the usage time of each application sent by device 2, device 1 combines the usage time of each type of application on its own device and the usage time of each type of application on device 2 to draw the wallpaper. The drawn wallpaper includes: wallpaper area 1504 corresponding to type 1, wallpaper area 1505 corresponding to type 2, and wallpaper area 1506 corresponding to type 3. By comparing Figure 14 a and Figure 14 b Visually, the wallpaper drawn by device 1 can reflect the cumulative information of the user's usage time of the same type of application on device 1 and device 2.
[0232] The specific manner in which the device 1 draws the wallpaper based on the determined usage time of each type of application and the user's preset wallpaper parameters can be referred to the above related descriptions and will not be repeated here.
[0233] Figure 14 The following description uses the example of using a fused shared wallpaper method to draw wallpaper based on the usage time of various types of applications on device 1 and device 2. In actual implementation, users can also set a separate shared wallpaper method to draw wallpaper based on the usage time of various types of applications on device 1 and device 2. The method of drawing wallpaper using the separate shared wallpaper method may include the following steps:
[0234] S1: When the first shared wallpaper mode set by the user is separated, when a user triggers a wallpaper update operation, the eighth display ratio of the wallpaper area corresponding to each type of application of the electronic device in the display interface is determined based on the usage time of each type of application in the electronic device and the wallpaper presentation mode set in the wallpaper application.
[0235] The display ratio of the wallpaper area of a type of application in the display interface can also be called the display ratio of the type of application in the display interface.
[0236] The wallpaper presentation mode refers to the presentation mode of the wallpaper application on the display interface of the electronic device, for example, a real-time alignment mode, an automatic alignment mode, etc. The electronic device is device 1 .
[0237] S2: Determine a ninth display proportion of each type of wallpaper area corresponding to the first sharing device in the display interface according to the usage duration of each application of the first sharing device and the wallpaper presentation mode.
[0238] The first shared device is device 2. Device 1 and device 2 have the same login account, that is, they are different devices of the same user.
[0239] S3: Generate a first wallpaper graphic according to an eighth display proportion of wallpaper areas of various types of applications in the display interface of the electronic device.
[0240] Because wallpaper parameters are preset in the wallpaper application, the electronic device can generate the first wallpaper graphic by combining the eighth display ratio of the wallpaper area of each type of application in the display interface and the wallpaper parameters. The first wallpaper graphic includes the wallpaper graphic portion corresponding to each type of application in device 1.
[0241] S4: generating a second wallpaper graphic according to a ninth display proportion of wallpaper areas of each type of application in the first sharing device in the display interface.
[0242] The electronic device can generate a second wallpaper graphic based on the ninth display ratio of the wallpaper area of each type of application in the display interface and the wallpaper parameters. The second wallpaper graphic includes wallpaper graphic parts corresponding to each type of application in the device 2.
[0243] S5: Displaying the target wallpaper including the first wallpaper graphic and the second wallpaper graphic on the display interface.
[0244] This wallpaper, drawn in a separate shared wallpaper mode, displays the usage time of various types of applications in device 1 and device 2 separately, making it easier for users to monitor device 1 and device 2.
[0245] The method of sharing data wallpapers with multiple devices of the same user makes it easier for users to monitor the application usage time of multiple devices with the same login account, for example, parents monitor the time their children use electronic devices. It should be noted that the above is only an example of establishing a data wallpaper sharing relationship between two devices with the same login account. In the actual implementation process, a data wallpaper sharing relationship can also be established between three or more devices. For example, if a data wallpaper sharing relationship is established between three devices, the desktop wallpaper drawn based on the usage time of the applications of the three devices will be displayed on any shared device.
[0246] The above is a detailed description of the wallpaper display method when a single user has multiple devices sharing data wallpaper. Figure 18 This section explains how wallpapers are displayed when data wallpapers are shared across multiple user devices.
[0247] Figure 15 This is a timing diagram illustrating an exemplary process of sharing wallpaper data between different user devices. As shown in the timing diagram, device 1 is an electronic device, and device 2 is a second sharing device that establishes a sharing relationship with the electronic device. The process includes the following steps:
[0248] S1: Device 1 turns on the shared wallpaper service in response to the user turning on the second switch in the shared data wallpaper setting interface.
[0249] In this example, the user has already set wallpaper parameters in advance in the device 1. For the relevant description of setting wallpaper parameters in the device 1, refer to the relevant description in the previous embodiment, which will not be repeated here.
[0250] Figure 16It is an interface diagram of the exemplary process of establishing a shared connection between an electronic device and a second shared device. Figure 16a is a schematic diagram of the shared data wallpaper setting interface. The shared data wallpaper setting interface 1701 includes a shared data wallpaper switch 17011, a personal multi-device sharing option 17012, a share with others option 17013, and a shared wallpaper effect, which can also be called a shared wallpaper display mode, including a fusion mode 17014 and a separation mode 17015. The shared data wallpaper switch 17011, i.e., the second switch, is closed by default. The user can manually turn on the shared data wallpaper switch 17011. The system receives the user's operation of turning on the shared data wallpaper switch 17011 and turns on the shared data wallpaper switch 17011. After the shared data wallpaper switch 17011 is turned on, the user can further set other options in the shared data wallpaper setting interface 1701, and the system responds to the user's setting operation of other options. For a description of each switch and option in the shared data wallpaper setting interface 1701, refer to Figure 13 The relevant instructions in are sufficient and will not be repeated here.
[0251] like Figure 16 As shown in Figure a, the user can turn on the shared data wallpaper switch 17011. The electronic device responds to the user's turn-on operation on the shared data wallpaper switch 17011 and starts the shared wallpaper service. At this time, all other options in the shared data wallpaper setting interface 1701 are set to an operable state. The user selects the share with others option 17013 and selects the shared wallpaper effect according to needs, such as the separation mode 17015. The system responds to the user's selection of the share with others option 17013 and starts the sharing service with others. In response to the user's selection of the separation mode 17015, the system sets the shared wallpaper effect to a separate display effect.
[0252] S2: The device 1 determines a second wallpaper sharing mode in response to the user's setting operation on the wallpaper sharing mode.
[0253] The setting operation may include but is not limited to: selecting the option corresponding to the shared wallpaper mode. The second shared wallpaper mode may include but is not limited to Figure 17 In this specific example, the first shared wallpaper mode is set to the separation mode as an example to illustrate the subsequent steps.
[0254] S3: Device 1 determines contacts with whom a sharing relationship can be established.
[0255] Among them, each contact corresponds to a device, and the login account of each device is different.
[0256] Contacts with which a shared relationship can be established can be obtained from a phone address book, a contact list of a third-party communication software, or a shared contact list preset by the user. In the embodiment of the present application, there is no specific restriction on the specific method of obtaining contacts with which a shared relationship can be established.
[0257] S4: In response to the request operation for establishing a shared data wallpaper with the target contact's device 2, device 1 sends a data wallpaper sharing request to device 2.
[0258] like Figure 16 As shown in a, the user can perform the first selection operation on the sharing management option 17016, and the system receives the first selection operation of the user on the sharing management option 17016 and displays Figure 16 b shows the sharing management interface. The first selection operation may include but is not limited to: clicking or long pressing. After the electronic device receives the user's first selection operation on the sharing management option, it displays Figure 16 b shows the shared management interface, wherein the shared management interface includes a shared device adding option 17017. The user can trigger the electronic device to display the shared device adding option 17017 by performing a second selection operation. Figure 16 c shows the contact selection interface, where the second selection operation may include but is not limited to: single click, double click or long press operation. In response to the user's second selection operation of adding the shared device option 17017, the electronic device displays the contact selection interface, which contains at least one contact, each contact corresponding to a shared device to be selected. For example Figure 16 The contact selection interface shown in Figure c includes contacts A, B, C, D, E, and F. Each contact has an "Invite" option 17018 corresponding to a request entry. The user can select the second sharing device by selecting "Invite" option 17018 for the corresponding contact. In response to the user's second selection operation on the second sharing device, device 1 sends a data wallpaper sharing request to the second sharing device.
[0259] In this specific example, the device corresponding to the contact A selected by the user is the second shared device, namely, device 2, and the current device is my device, namely, device 1.
[0260] The wallpaper data sharing request carries the account information of device 1 and the device identifier of device 1 .
[0261] S5: When device 2 receives the first instruction from the user, it sends a request response message to device 1.
[0262] After device 1 sends a request to share data wallpaper to device 2, the shared management interface is updated. The updated shared management interface is as follows: Figure 16As shown in FIG. 5 , the updated sharing management interface includes the device model of the user's current device and the contact information of the requested device 2, and prompts the user that an invitation has been sent and the user is waiting for device 2 to respond to the invitation.
[0263] Figure 17 The following is an example of an interface diagram of two devices when the second sharing device responds to a shared connection request. As shown in FIG17a, after device 2 receives a shared data wallpaper request sent by device 1, a second prompt message is displayed on the desktop of device 2, wherein the second prompt message is used to remind the user that there is a shared data wallpaper request. An exemplary second prompt message 1801 is as follows Figure 17 As shown in Figure a, the prompt "xxx invites you to share your digital wallpaper with TA" is displayed, along with options for "Agree" and "Reject." The user can click "Agree" as a first instruction to confirm the response to Device 1's request. Upon receiving the user's first instruction, Device 2 sends a request response message to Device 1.
[0264] When device 1 receives the request response message sent by device 2, it determines that the data wallpaper sharing relationship with device 2 is successfully established. At this time, device 1 updates the sharing management interface again. The updated sharing management interface is as follows Figure 18 As shown in b, it includes the device model of the user's current device and the contact information of device 2 with which a data wallpaper sharing relationship has been established, such as contact A.
[0265] S6: When the device 2 receives a wallpaper update operation triggered by the user, the device 2 updates the generated wallpaper on the display interface according to the usage time of each application in the device 2.
[0266] Device 2 updates and displays the generated wallpaper based on the wallpaper parameters preset by the user and the usage time of each application in device 2. The method for device 2 to update the generated wallpaper can refer to the method for the electronic device to update the generated wallpaper based on the usage time of its own applications, which will not be repeated here.
[0267] S7: Device 2 sends the usage time of each application and the account information of device 1 to the server.
[0268] After device 2 finishes updating its wallpaper, it sends the usage time of each app installed on device 2, along with the account information of device 1, with which it has established a wallpaper data sharing relationship (i.e., device 2's authorized account information), to the server. Based on this authorized account information, the server determines that device 1 has permission to access the usage time information reported by device 2 for each app.
[0269] The server manages the account correspondence between each device pair that establishes a data wallpaper sharing relationship. Based on this account correspondence, the server can authenticate the authorized account information sent by device 2. Once the authentication is successful, it determines that device 1 corresponding to the authorized account information has permission to obtain the usage time information of each application reported by device 2.
[0270] S8: When device 1 receives a wallpaper update operation triggered by the user, it sends a first acquisition request to the server.
[0271] The first request carries the account information of device 1 and the account information of device 2.
[0272] After receiving the first request, the server parses the account information of device 1 and device 2 from the first request, determines that the two have established a data wallpaper sharing relationship, determines that device 1 is the authorized device of device 2, and sends the usage time of each application sent by device 2 to device 1.
[0273] It should be noted that, in the actual implementation process, the server may also determine that device 1 is an authorized device based on the authorization account information sent by device 2 when receiving the usage time information of each application sent by device 2, and actively send the usage time information of each application uploaded to the server by device 2 to device 1, without waiting for device 1 to send a first request to the server.
[0274] S9: Device 1 receives the usage time of each application in device 2 sent by the server.
[0275] S10: Device 1 updates and displays the generated target wallpaper in the display interface according to the usage time of various types of applications in its own device, the usage time of applications in device 2, the second wallpaper sharing mode, and wallpaper parameters preset by the user.
[0276] Because the user's preset second shared wallpaper mode is separate display, when device 1 receives a user-triggered wallpaper update operation, it generates a first wallpaper graphic based on the usage time of each application on device 1 and the user's preset wallpaper parameters. Device 1 also generates a second wallpaper graphic based on the usage time of each application on device 2 and the user's preset wallpaper parameters. Ultimately, a target wallpaper containing the first desktop graphic and the second wallpaper graphic is generated and displayed on the display interface.
[0277] Figure 18 Schematic diagram of the wallpaper display interface of device 1. Figure 18a is the wallpaper displayed on the display interface of device 1 when device 1 has not received the application usage time sent by device 2. The wallpaper includes the wallpaper area 1901 of type 1, the wallpaper area 1902 of type 2 and the wallpaper area 1903 of type 3 corresponding to device 1. Through this wallpaper, the time usage of each type of application by the user of device 1 can be known. When device 1 receives the application usage time sent by device 2, when device 1 triggers the wallpaper update again, the updated wallpaper display interface of device 1 is as follows: Figure 18 As shown in FIG. 2 , the displayed wallpaper includes a wallpaper area 1901 of type 1, a wallpaper area 1902 of type 2, and a wallpaper area 1903 of type 3 corresponding to device 1. The wallpaper also includes a wallpaper area 1904 of type 1, a wallpaper area 1905 of type 2, a wallpaper area 1906 of type 3, and a wallpaper area 1907 of type 4 corresponding to device 2. The application duration corresponding to type 4 in device 1 is 0.
[0278] This type of wallpaper, created using a separate shared wallpaper method, displays the usage time of various types of applications on device 1 and device 2 separately, making it easier for users to know the usage time of various types of applications on device 1 and device 2. Sharing data wallpapers across multiple devices by different users makes it easier for users to monitor the usage time of applications on multiple devices with different login accounts, and also increases the fun of the wallpaper. For example, parents can monitor the time their children spend using electronic devices, or sharing data wallpapers across multiple devices among family members can facilitate mutual supervision of electronic device usage among family members.
[0279] The above description uses the example of establishing a data wallpaper sharing relationship between device 1 and device 2, where device 1 obtains usage information about applications on device 2 and generates a shared data wallpaper on device 1. In actual implementation, device 2 can also obtain usage information about applications on device 1 based on the data wallpaper sharing relationship between the two devices and generate a shared data wallpaper on device 2.
[0280] It should be noted that the above example only uses the example of establishing a wallpaper data sharing relationship between two devices with different login accounts. In actual implementation, a wallpaper data sharing relationship can also be established between three or more devices. For example, if a wallpaper data sharing relationship is established between three devices, the wallpaper drawn based on the usage time of the three devices will be displayed on any shared device.
[0281] It is understandable that, in order to implement the above functions, the electronic device includes hardware and / or software modules that perform the corresponding functions. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of this application.
[0282] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.
[0283] This embodiment further provides a computer storage medium, which stores computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the external screen display method in the above-mentioned embodiment.
[0284] This embodiment further provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the above-mentioned related steps to implement the wallpaper display method in the above-mentioned embodiment.
[0285] Among them, the electronic device, computer storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0286] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0287] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0288] Units described as separate components may or may not be physically separate, and components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0289] Any content of each embodiment of this application, as well as any content of the same embodiment, can be freely combined. Any combination of the above content is within the scope of this application.
[0290] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0291] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.
Claims
1. An electronic device, characterized in that: include: memory and processor; The processor is coupled to the memory; The memory stores program instructions, and when the program instructions are executed by the processor, the electronic device performs the following steps: Monitoring a first usage duration of a first type of application and a second usage duration of a second type of application by a user; Determining, based on a presentation mode of the wallpaper application on a display interface of the electronic device, a first display ratio of the first type of application on the display interface corresponding to the first usage duration, and a second display ratio of the second type of application on the display interface corresponding to the second usage duration; Displaying a generated first wallpaper on the display interface according to the first display ratio and the second display ratio; wherein a first portion of the first wallpaper corresponding to the first type of application displays a first color, and an area ratio of the first portion in the first wallpaper corresponds to the first display ratio; and a second portion of the first wallpaper corresponding to the second type of application displays a second color, and an area ratio of the second portion in the first wallpaper corresponds to the second display ratio; monitoring that the first usage duration of the first type of application by the user is updated to a third usage duration, and determining a third display proportion of the first type of application on the display interface corresponding to the third usage duration, where the third usage duration is greater than the first usage duration; updating and displaying the generated second wallpaper in the display interface according to the third display ratio and the second display ratio; wherein a third portion of the second wallpaper corresponding to the first type of application displays the first color, and an area ratio of the third portion in the first wallpaper corresponds to the third display ratio; and a fourth portion of the second wallpaper corresponding to the second type of application displays the second color, and an area ratio of the fourth portion in the second wallpaper corresponds to the second display ratio; A display area of the sum of the third part and the fourth part is smaller than a display area of the first wallpaper, and larger than a display area of the sum of the first part and the second part.
2. The electronic device according to claim 1, wherein When the program instructions are executed by the processor, the electronic device performs the following steps: Comparing the third display ratio with the first display ratio to determine a change in the display ratio; Adding the change of the first preset proportion to the first display proportion to obtain a fourth display proportion of the first type of application in the display interface; According to the fourth display ratio and the second display ratio, the generated third wallpaper is updated and displayed in the display interface; wherein, the fifth part of the third wallpaper corresponding to the first type of application displays the first color, and the area ratio of the fifth part in the third wallpaper corresponds to the fourth display ratio; the sixth part of the third wallpaper corresponding to the second type of application displays the second color, and the area ratio of the sixth part in the third wallpaper corresponds to the second display ratio.
3. The electronic device according to claim 1, wherein When the program instructions are executed by the processor, the electronic device performs the following steps: During the wallpaper update process, when a user shakes the electronic device, determining the shaking angle of the electronic device; When the shaking angle is greater than a first preset angle, determining a fifth display ratio of the first type application in the display interface and a sixth display ratio of the second type application in the display interface according to the shaking angle, the third display ratio of the first type application in the display interface, and the second display ratio of the second type application in the display interface; updating and displaying the generated fourth wallpaper in the display interface according to the fifth display ratio and the sixth display ratio; wherein a seventh portion of the fourth wallpaper corresponding to the first type of application displays the first color, and an area ratio of the seventh portion in the fourth wallpaper corresponds to the fifth display ratio; and an eighth portion of the fourth wallpaper corresponding to the second type of application displays the second color, and an area ratio of the eighth portion in the fourth wallpaper corresponds to the sixth display ratio; When it is detected that the shaking angle of the electronic device is less than the first preset angle, the generated second wallpaper is updated and displayed in the display interface according to the third display ratio and the second display ratio.
4. The electronic device according to claim 3, wherein: When the program instructions are executed by the processor, the electronic device performs the following steps: comparing the third display ratio with the first display ratio to determine a change in the display ratio; Adding the change of the second preset ratio to the first display ratio to obtain a seventh display ratio; According to the shaking angle, the seventh display ratio, and the second display ratio, a fifth display ratio of the first type application in the display interface and a sixth display ratio of the second type application in the display interface are determined.
5. The electronic device according to claim 4, characterized in that When the program instructions are executed by the processor, the electronic device performs the following steps: Receiving a user's activation operation of a first switch in a data wallpaper parameter setting interface, wherein the first switch is used to trigger the system to monitor screen usage time; When it is monitored that the screen usage time exceeds a first preset time, a first prompt message is displayed, wherein the first prompt message is used to prompt the user to use the electronic device in moderation.
6. The electronic device according to claim 1, wherein: When the program instructions are executed by the processor, the electronic device performs the following steps: Obtaining the first wallpaper; Drawing a first graphic for a target application icon in the first wallpaper to generate a fifth wallpaper; Drawing a second graphic for the target application icon in the first wallpaper to generate a sixth wallpaper, wherein the area of the second graphic is larger than the first graphic, and the distance between the second graphic and the first portion is smaller than the distance between the first graphic and the first portion; Drawing a third graphic for the target application icon in the first wallpaper to generate a seventh wallpaper; wherein the area of the third graphic is larger than the area of the second graphic, and the third graphic overlaps with the first portion; A second wallpaper is generated according to the third display ratio and the second display ratio; and the first wallpaper, the fifth wallpaper, the sixth wallpaper, the seventh wallpaper and the second wallpaper are displayed in sequence on the display interface.
7. The electronic device according to claim 1, wherein: When the program instructions are executed by the processor, the electronic device performs the following steps: Receive a user's setting operation for wallpaper parameters, wherein the wallpaper parameters include: wallpaper style, wallpaper presentation method, application type classification information, colors corresponding to each type of application, and sorting method of each type of application; In response to the setting operation, determining wallpaper parameters; The generated second wallpaper is updated and displayed in the display interface according to the wallpaper style, the sorting method of each type of application, the third display ratio and the second display ratio, and the color corresponding to each type of application.
8. The electronic device according to claim 1, wherein: When the program instructions are executed by the processor, the electronic device performs the following steps: In response to the user turning on the second switch in the shared data wallpaper setting interface, turning on the shared wallpaper service; wherein the second switch is used to control the turning on of the personal multi-device shared data wallpaper service; In response to a user setting operation on a wallpaper sharing mode, determining a first wallpaper sharing mode; In response to a user's selection operation on a first sharing device, a data wallpaper sharing relationship is established with the first sharing device, wherein the first sharing device and the electronic device have the same login account.
9. The electronic device according to claim 8, wherein: When the program instructions are executed by the processor, the electronic device performs the following steps: receiving the application usage time sent by the first sharing device; When a user triggers a wallpaper update operation, the generated target wallpaper is displayed in the display interface based on the usage time of each type of application in the electronic device, the usage time of each application in the first shared device, the first shared wallpaper method and wallpaper parameters.
10. The electronic device according to claim 9, characterized in that When the program instructions are executed by the processor, the electronic device performs the following steps: When the first shared wallpaper mode is fusion, upon receiving a user-triggered wallpaper update operation, the usage time of each application on the first shared device is accumulated into the usage time of each type of application on the electronic device; The generated target wallpaper is displayed on the display interface based on the accumulated usage time of each type of application and the preset wallpaper parameters.
11. The electronic device according to claim 9, wherein: When the program instructions are executed by the processor, the electronic device performs the following steps: When the first shared wallpaper mode is separation, upon receiving a user-triggered wallpaper update operation, determining an eighth display proportion of each type of application in the electronic device in the display interface according to the usage duration of each type of application in the electronic device and the presentation mode; determining, based on the usage duration of each application of the first sharing device and the presentation mode, a ninth display proportion of each type of application of the first sharing device in the display interface; generating a first wallpaper graphic according to an eighth display proportion of each type of application in the electronic device on the display interface; generating a second wallpaper graphic according to a ninth display proportion of each type of application in the first sharing device on the display interface; A target wallpaper including the first wallpaper graphic and the second wallpaper graphic is displayed on a display interface.
12. The electronic device according to claim 1, wherein When the program instructions are executed by the processor, the electronic device performs the following steps: In response to a user setting operation on a wallpaper sharing mode, determining a second wallpaper sharing mode; In response to a user's request to establish a shared data wallpaper with a second sharing device, establishing a data wallpaper sharing relationship with the second sharing device, wherein the second sharing device and the electronic device have different login accounts; Based on the second wallpaper sharing mode, a data wallpaper sharing relationship is established with the second sharing device, and the data wallpaper is shared with the second sharing device.
13. The electronic device according to claim 12, wherein: When the program instructions are executed by the processor, the electronic device performs the following steps: Receive a first selection operation of the user on a sharing management option in a shared data wallpaper setting interface; In response to the first selected operation, displaying a sharing management interface, wherein the sharing management interface includes a shared device adding option; In response to a second selection operation of the user on adding an option to the shared device, displaying at least one shared device to be selected; In response to a second selection operation of the user on the second sharing device, sending a data wallpaper sharing request to the second sharing device; In case of receiving the data wallpaper sharing response message sent by the second sharing device, it is determined to establish a data wallpaper sharing relationship with the second sharing device.
14. The electronic device according to claim 12, wherein: When the program instructions are executed by the processor, the electronic device performs the following steps: When a user triggers a wallpaper update operation, sending a first request to the server, wherein the first request carries the identifier and account information of the second sharing device; receiving usage time of each application in the second shared device sent by the server; The generated target wallpaper is displayed on the display interface according to the usage time of each type of application in the electronic device, the application time of the second sharing device, the second wallpaper sharing mode and wallpaper parameters.
15. A wallpaper display method, characterized in that: include: The electronic device monitors a first usage duration of a first type of application and a second usage duration of a second type of application by a user; The electronic device determines, based on a presentation mode of the wallpaper application on a display interface of the electronic device, a first display ratio of the first type of application on the display interface corresponding to the first usage duration, and a second display ratio of the second type of application on the display interface corresponding to the second usage duration; The electronic device displays a generated first wallpaper on the display interface based on the first display ratio and the second display ratio; wherein a first portion of the first wallpaper corresponding to the first type of application displays a first color, and an area ratio of the first portion in the first wallpaper corresponds to the first display ratio; a second portion of the first wallpaper corresponding to the second type of application displays a second color, and an area ratio of the second portion in the first wallpaper corresponds to the second display ratio; The electronic device monitors that the first usage duration of the first type of application by the user is updated to a third usage duration, and determines a third display proportion of the first type of application on the display interface corresponding to the third usage duration, where the third usage duration is greater than the first usage duration; The electronic device updates and displays the generated second wallpaper on the display interface according to the third display ratio and the second display ratio; wherein a third portion of the second wallpaper corresponding to the first type of application displays the first color, and an area ratio of the third portion in the first wallpaper corresponds to the third display ratio; and a fourth portion of the second wallpaper corresponding to the second type of application displays the second color, and an area ratio of the fourth portion in the second wallpaper corresponds to the second display ratio; A display area of the sum of the third part and the fourth part is smaller than a display area of the first wallpaper, and larger than a display area of the sum of the first part and the second part.
16. The method according to claim 15, characterized in that The method further comprises: The electronic device compares the third display ratio with the first display ratio to determine a change in the display ratio; The electronic device adds the change amount of the first preset proportion to the first display proportion to obtain a fourth display proportion of the first type of application in the display interface; The electronic device updates and displays the generated third wallpaper in the display interface based on the fourth display ratio and the second display ratio; wherein, the fifth part of the third wallpaper corresponding to the first type of application displays the first color, and the area ratio of the fifth part in the third wallpaper corresponds to the fourth display ratio; the sixth part of the third wallpaper corresponding to the second type of application displays the second color, and the area ratio of the sixth part in the third wallpaper corresponds to the second display ratio.
17. The method according to claim 15, characterized in that The electronic device updates and displays the generated second wallpaper in the display interface according to the third display ratio and the second display ratio, including: When the electronic device detects a user shaking the electronic device during the wallpaper update process, the electronic device determines a shaking angle of the electronic device; When the shaking angle is greater than a first preset angle, the electronic device determines, based on the shaking angle, the third display ratio of the first type of application in the display interface, and the second display ratio of the second type of application in the display interface, a fifth display ratio of the first type of application in the display interface and a sixth display ratio of the second type of application in the display interface; The electronic device updates, on the display interface, the generated fourth wallpaper according to the fifth display ratio and the sixth display ratio; wherein a seventh portion of the fourth wallpaper corresponding to the first type of application displays the first color, and an area ratio of the seventh portion in the fourth wallpaper corresponds to the fifth display ratio; and an eighth portion of the fourth wallpaper corresponding to the second type of application displays the second color, and an area ratio of the eighth portion in the fourth wallpaper corresponds to the sixth display ratio; When the electronic device detects that the shaking angle is less than the first preset angle, the generated second wallpaper is updated and displayed in the display interface according to the third display ratio and the second display ratio.
18. The method according to claim 17, characterized in that The electronic device, when the shaking angle is greater than a first preset angle, determines, based on the shaking angle, the third display ratio of the first type application in the display interface, and the second display ratio of the second type application in the display interface, a fifth display ratio of the first type application in the display interface and a sixth display ratio of the second type application in the display interface, including: The electronic device compares the third display ratio with the first display ratio to determine a change in the display ratio; The electronic device adds the change amount of the second preset ratio to the first display ratio to obtain a seventh display ratio; The electronic device determines a fifth display ratio of the first type application in the display interface and a sixth display ratio of the second type application in the display interface based on the shaking angle, the seventh display ratio, and the second display ratio.
19. The method according to claim 18, characterized in that The method further comprises: The electronic device receives a user's turning on operation of a first switch in a data wallpaper parameter setting interface, wherein the first switch is used to trigger the system to monitor screen usage time; When the electronic device detects that the screen usage time exceeds a first preset time, the electronic device displays a first prompt message, wherein the first prompt message is used to prompt the user to use the electronic device in moderation.
20. The method according to claim 15, wherein The method further comprises: The electronic device obtains the first wallpaper; The electronic device draws a first graphic for the target application icon in the first wallpaper to generate a fifth wallpaper; The electronic device draws a second graphic for the target application icon in the first wallpaper to generate a sixth wallpaper, wherein the area of the second graphic is larger than the first graphic, and the distance between the second graphic and the first portion is smaller than the distance between the first graphic and the first portion; The electronic device draws a third graphic for the target application icon in the first wallpaper to generate a seventh wallpaper; wherein the area of the third graphic is larger than the area of the second graphic, and the third graphic overlaps with the first portion; The electronic device generates a second wallpaper according to the third display ratio and the second display ratio; The electronic device displays the first wallpaper, the fifth wallpaper, the sixth wallpaper, the seventh wallpaper and the second wallpaper in sequence on the display interface.
21. The method according to claim 15, wherein The method further comprises: The electronic device receives a user's setting operation for wallpaper parameters, wherein the wallpaper parameters include: wallpaper style, wallpaper presentation mode, application type classification information, colors corresponding to each type of application, and sorting mode of each type of application; The electronic device determines wallpaper parameters in response to the setting operation; The electronic device updates and displays the generated second wallpaper in the display interface according to the wallpaper style, the sorting method of each type of application, the third display ratio and the second display ratio, and the color corresponding to each type of application.
22. The method according to claim 15, wherein The method further comprises: The electronic device activates the shared wallpaper service in response to a user's activation of a second switch in the shared data wallpaper setting interface; wherein the second switch is used to control activation of the personal multi-device shared data wallpaper service; The electronic device determines a first wallpaper sharing mode in response to a user setting operation on the wallpaper sharing mode; The electronic device establishes a data wallpaper sharing relationship with the first sharing device in response to a user's selection operation on the first sharing device, wherein the first sharing device and the electronic device have the same login account.
23. The method according to claim 22, characterized in that The method further comprises: The electronic device receives the application usage time sent by the first sharing device; When the electronic device receives a wallpaper update operation triggered by the user, it displays the generated target wallpaper in the display interface based on the usage time of each type of application in the electronic device, the usage time of each application in the first sharing device, the first sharing wallpaper mode and the wallpaper parameters.
24. The method according to claim 23, wherein When receiving a wallpaper update operation triggered by a user, the electronic device generates a target wallpaper based on usage duration of various types of applications in the electronic device, usage duration of various applications in the first sharing device, the first wallpaper sharing mode, and wallpaper parameters, including: When the first shared wallpaper mode is fusion, upon receiving a user-triggered wallpaper update operation, the electronic device accumulates the usage time of each application of the first shared device into the usage time of each type of application in the electronic device; The electronic device displays the generated target wallpaper on a display interface according to the accumulated usage time of each type of application and the preset wallpaper parameters.
25. The method according to claim 23, characterized in that When receiving a wallpaper update operation triggered by a user, the electronic device generates a target wallpaper based on usage duration of various types of applications in the electronic device, usage duration of various applications in the first sharing device, the first wallpaper sharing mode, and wallpaper parameters, including: When the first shared wallpaper mode is separation, upon receiving a user-triggered wallpaper update operation, the electronic device determines, based on usage duration of each type of application in the electronic device and the presentation mode, an eighth display proportion of each type of application in the electronic device in the display interface; The electronic device determines, based on the usage duration of each application of the first shared device and the presentation mode, a ninth display proportion of each type of application of the first shared device in the display interface; The electronic device generates a first wallpaper graphic according to an eighth display proportion of each type of application in the electronic device on the display interface; The electronic device generates a second wallpaper graphic according to a ninth display proportion of each type of application in the first shared device on the display interface; The electronic device displays a target wallpaper including the first wallpaper graphic and the second wallpaper graphic on a display interface.
26. The method according to claim 15, wherein The method further comprises: The electronic device determines a second wallpaper sharing mode in response to a user setting operation on the wallpaper sharing mode; The electronic device establishes a data wallpaper sharing relationship with a second sharing device in response to a user's request operation to establish a shared data wallpaper with the second sharing device, wherein the second sharing device and the electronic device have different login accounts; The electronic device establishes a data wallpaper sharing relationship with the second sharing device based on the second wallpaper sharing mode, and shares the data wallpaper with the second sharing device.
27. The method according to claim 26, characterized in that The electronic device establishes a data wallpaper sharing relationship with the second sharing device in response to a user's request operation to establish a shared data wallpaper with the second sharing device, including: The electronic device receives a first selection operation of a user on a sharing management option in a shared data wallpaper setting interface; In response to the first selected operation, the electronic device displays a sharing management interface, wherein the sharing management interface includes a shared device adding option; In response to a second selection operation of adding an option to the shared device by the user, the electronic device displays at least one shared device to be selected; The electronic device sends a data wallpaper sharing request to the second sharing device in response to a second selection operation of the user on the second sharing device; Upon receiving the data wallpaper sharing response message sent by the second sharing device, the electronic device determines to establish a data wallpaper sharing relationship with the second sharing device.
28. The method according to claim 26, characterized in that The method further comprises: When receiving a wallpaper update operation triggered by a user, the electronic device sends a first request to the server, wherein the first request carries the identifier and account information of the second sharing device; The electronic device receives the usage time of each application in the second shared device sent by the server; The electronic device displays the generated target wallpaper on a display interface according to the usage duration of each type of application in the electronic device, the application duration of the second sharing device, the second wallpaper sharing mode and wallpaper parameters.
29. A computer-readable storage medium comprising a computer program, characterized in that When the computer program is run on an electronic device, the electronic device is enabled to execute the wallpaper display method according to any one of claims 15 to 28.
Citation Information
Patent Citations
Terminal wallpaper pushing method and device and mobile terminal
CN106202465A
Desktop wallpaper display method and device, terminal device and storage medium
CN110764862A