Screen-off display method and electronic equipment

By dynamically adjusting the display properties of the interface object in the screen-off display mode of the electronic device, the risk of burning caused by long-term static display is solved, and the dynamicity and user experience of the interface are improved.

CN120010800APending Publication Date: 2025-05-16HONOR DEVICE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311806475.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-11-08
Filing Date
2023-12-22
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

In the on-screen display mode of electronic devices, the continuous static display interface for a long time can easily lead to the risk of display burning.

Method used

By responding to preset update instructions, dynamically adjust the image, transparency, position and size of the object display in the target interface to avoid long-term static display.

Benefits of technology

It effectively reduces the risk of burning screens caused by long-term static display of electronic device display screens, and improves the dynamicity of the interface and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120010800A_ABST
    Figure CN120010800A_ABST
Patent Text Reader

Abstract

The invention discloses a screen-off display method and electronic equipment, and relates to the technical field of electronic equipment, and when the electronic equipment is in a screen-off display mode, the electronic equipment responds to an operation of displaying a target interface by a user, and obtains a display image of at least one object in the target interface corresponding to system time. Wherein the target interface is one of a plurality of display interfaces in the screen-off display mode, the target interface is configured with a dynamic effect parameter corresponding to the preset updating instruction, and the dynamic effect parameter comprises the dynamic effect duration, the display transparency, the display position and the display size of the at least one object. And the electronic equipment displays the display image of the at least one object on the target interface. The electronic equipment responds to a preset updating instruction, the target interface is updated through the dynamic effect parameters, and at least one of the display image, the display transparency, the display position and the display size of at least one object in the target interface is adjusted. According to the method, the burn-in risk caused by continuous static display of each object in the target interface is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office on November 8, 2023, with application number 202311492831.0 and invention name “A method for using a Standby-mountain dial or weather dial”, the entire contents of which are incorporated by reference in this application. Technical Field

[0002] The embodiments of the present application relate to the technical field of electronic devices, and in particular to a screen-off display method and an electronic device. Background Art

[0003] Always on display (AOD) means that when the screen of an electronic device is off (disabled), part of the screen lights up and displays some information (for example, clock, battery level, application reminders, etc.). AOD can also be called off-screen display, off-screen display, standby display, etc.

[0004] In some scenarios, users can turn on the screen-off display function of the electronic device, which triggers the display of a specified interface at a specified location when the electronic device is off. For example, a clock interface may be displayed in the middle of the display screen, or a clock interface may be displayed at the top of the display screen, etc.

[0005] Continuously displaying a specified interface at a specified position for a long time when the screen of an electronic device is off may easily cause the risk of screen burn-in of the electronic device. Summary of the invention

[0006] The embodiments of the present application provide a screen-off display method and an electronic device, which reduce the risk of screen burn-in caused by the continuous static display of objects in the target interface.

[0007] In order to achieve the above-mentioned purpose, the embodiments of the present application adopt the following technical solutions.

[0008] In a first aspect, a screen-off display method is provided, which is applied to an electronic device, the electronic device including a display screen, and the method includes:

[0009] When the electronic device is in the screen-off display mode, the electronic device obtains a display image of at least one object in the target interface corresponding to the system time in response to the user's operation of displaying the target interface.

[0010] The target interface is one of the multiple display interfaces in the screen-off display mode. The target interface is configured with motion effect parameters corresponding to the preset update instruction. Exemplarily, the motion effect parameters include the motion effect duration, display transparency, display position, and display size of at least one object.

[0011] The electronic device displays a display image of at least one object on the target interface.

[0012] In response to a preset update instruction, the electronic device updates the target interface with the motion effect parameters and adjusts at least one of the displayed image, display transparency, display position and display size of at least one object in the target interface.

[0013] In the present application, the electronic device can respond to a preset update instruction to update the display image of at least one object in the target interface, or the display transparency of the display image, or the display position of the display image, or the display size of the display image, etc., so that the target interface avoids the problem of continuous static display for a long time, thereby reducing the risk of screen burn-in caused by continuous static display for a long time on the display screen of the electronic device.

[0014] In a possible implementation of the first aspect, at least one object includes a first object. The preset update instruction includes a first update sub-instruction, and the first update sub-instruction is used to represent a periodic image display position update instruction. The motion effect parameter includes a first motion effect sub-parameter corresponding to the first update sub-instruction, and the first motion effect sub-parameter includes a first motion effect duration, a first position, and a second position corresponding to the first object. The first position is different from the second position.

[0015] The electronic device displays a display image of at least one object on a target interface, including:

[0016] The electronic device displays a display image of the first object at a first position of the target interface.

[0017] Then, the electronic device updates the target interface with the dynamic effect parameter in response to the preset update instruction, and adjusts at least one of the displayed image, displayed transparency, displayed position and displayed size of at least one object in the target interface, including:

[0018] In response to the first update sub-instruction, the electronic device updates the display position of the display image of the first object in the target interface from the first position to the second position within the first animation duration.

[0019] In the present application, the electronic device can update the display position of the display image of the first object in the target interface in response to the first update sub-instruction, thereby avoiding the problem of the display image of the object in the target interface being displayed statically for a long time, thereby reducing the risk of screen burn-in due to long-term continuous static display of the display screen of the electronic device.

[0020] In another possible implementation of the first aspect, at least one object includes a second object. The preset update instruction includes a second update sub-instruction, and the second update sub-instruction is used to represent a periodic image display position update instruction. The motion effect parameter includes a second motion effect sub-parameter corresponding to the second update sub-instruction, and the second motion effect sub-parameter includes a second motion effect duration, a preset direction, and a preset distance corresponding to the second object.

[0021] The electronic device responds to the preset update instruction, updates the target interface with the dynamic effect parameter, and adjusts at least one of the displayed image, displayed transparency, displayed position, and displayed size of at least one object in the target interface, including:

[0022] In response to the second update sub-instruction, the electronic device moves the displayed image of the second object in the target interface by a preset distance along a preset direction within the second animation duration.

[0023] In the present application, the electronic device can respond to the second update sub-instruction and move the display image of the second object of the target interface by a preset distance in a preset direction, thereby avoiding the problem of the display image of the object in the target interface being displayed statically for a long time, thereby reducing the risk of screen burn-in caused by long-term continuous static display of the display screen of the electronic device.

[0024] In another possible implementation of the first aspect, at least one object includes a third object. The preset update instruction includes a third update sub-instruction, and the third update sub-instruction is used to represent a periodic image display size update instruction. The motion effect parameter includes a third motion effect sub-parameter corresponding to the third update sub-instruction, and the third motion effect sub-parameter includes a third motion effect duration, a first size, and a second size corresponding to the third object. Wherein, the first size is different from the second size.

[0025] The electronic device displays a display image of at least one object on a target interface, including:

[0026] The electronic device displays a display image of the third object in a first size on the target interface.

[0027] Then, the electronic device updates the target interface with the dynamic effect parameter in response to the preset update instruction, and adjusts at least one of the displayed image, displayed transparency, displayed position and displayed size of at least one object in the target interface, including:

[0028] In response to the third update sub-instruction, the electronic device adjusts the display image of the third object in the target interface from the first size to the second size within the third animation duration.

[0029] In the present application, the electronic device can update the display size of the display image of the third object in the target interface in response to the third update sub-instruction, thereby avoiding the problem of the display image of the object in the target interface being displayed statically for a long time, thereby reducing the risk of screen burn-in due to long-term continuous static display of the display screen of the electronic device.

[0030] In another possible implementation of the first aspect, at least one object includes a fourth object. The preset update instruction includes a fourth update sub-instruction, and the fourth update sub-instruction is used to represent the image update instruction. The motion effect parameter includes a fourth motion effect sub-parameter corresponding to the fourth update sub-instruction, and the fourth motion effect sub-parameter includes a fourth motion effect duration corresponding to the fourth object. The display image of the fourth object includes a first display image and a second display image, wherein the first display image is different from the second display image.

[0031] The electronic device displays a display image of at least one object on a target interface, including:

[0032] The electronic device displays the first display image of the fourth object on the target interface.

[0033] Then, the electronic device updates the target interface with the dynamic effect parameter in response to the preset update instruction, and adjusts at least one of the displayed image, displayed transparency, displayed position and displayed size of at least one object in the target interface, including:

[0034] In response to the fourth update sub-instruction, the electronic device updates the first display image of the fourth object displayed in the target interface to the second display image within the fourth animation effect duration.

[0035] In the present application, the electronic device can replace the first display image of the fourth object of the target interface with the second display image in response to the fourth update sub-instruction, so as to avoid the problem of the display image of the object in the target interface being displayed statically for a long time, thereby reducing the risk of screen burn-in caused by long-term continuous static display of the display screen of the electronic device.

[0036] In another possible implementation manner of the first aspect, acquiring a display image of at least one object in a target interface corresponding to a system time includes:

[0037] The electronic device determines a target time period to which the system time belongs, and obtains a display image of at least one object of a target interface corresponding to the target time period.

[0038] One day includes a first time period and a second time period. The first time period corresponds to the third display image of at least one object in the target interface; the second time period corresponds to the fourth display image of at least one object in the target interface. The third display image of each object is different from the fourth display image.

[0039] In the present application, the electronic device can display images of various objects in the target interface corresponding to different pre-configured time periods, for example, different images of a mountain in different time periods, for example, in the morning, the display image of the mountain can be an image covered by the glimmer of sunrise; in the afternoon, the display image of the mountain can be an image covered by the halo of sunset; in the evening, the display image of the mountain can be an image illuminated by starlight. The display images of objects in different time periods make the display effect of the target interface richer, and can bring users a more immersive experience of viewing the clock interface.

[0040] In another possible implementation manner of the first aspect, the at least one object includes a fifth object. The preset update instruction includes a fifth update sub-instruction, and the fifth update sub-instruction is used to represent a time period switching instruction.

[0041] The motion effect parameters include a fifth motion effect sub-parameter corresponding to the fifth update sub-instruction, and the fifth motion effect sub-parameter includes a fifth motion effect duration, a first transparency, and a second transparency corresponding to the fifth object, wherein the second transparency is less than the first transparency.

[0042] The electronic device displays a display image of at least one object on a target interface, including:

[0043] The electronic device displays, on the target interface, a display image of the fifth object in the target interface corresponding to the first time period.

[0044] The electronic device responds to the preset update instruction, updates the target interface with the dynamic effect parameter, and adjusts at least one of the displayed image, displayed transparency, displayed position, and displayed size of at least one object in the target interface, including:

[0045] In response to the fifth update sub-instruction, the electronic device updates the display transparency of the display image of the fifth object in the target interface corresponding to the first time period from the second transparency to the first transparency within the fifth animation duration; and updates the display transparency of the display image of the fifth object in the target interface corresponding to the second time period from the first transparency to the second transparency within the fifth animation duration.

[0046] The first time period is a preceding time period adjacent to the second time period.

[0047] In the present application, the electronic device pre-configures the display images of each object in the target interface corresponding to different time periods, and generates a fifth update sub-instruction for switching the time period when switching the time period. The electronic device can respond to the fifth update sub-instruction to obtain the display image of the fifth object in the target time period to which the system time belongs, and implement the replacement and update of the display image of the fifth object in the target interface, thereby avoiding the problem of the display image of the object in the target interface being statically displayed for a long time, thereby reducing the risk of screen burn-in caused by the static display of the electronic device display screen for a long time.

[0048] In another possible implementation manner of the first aspect, each time period includes a third display image of at least one object of the target interface corresponding to the first mode and a fourth display image of at least one object of the target interface corresponding to the second mode.

[0049] Then, obtaining a display image of at least one object in the target interface corresponding to the system time includes:

[0050] The electronic device detects the ambient light intensity and obtains ambient light data.

[0051] If the ambient light data of the electronic device is greater than or equal to a preset first ambient light threshold, the electronic device obtains a fifth display image of at least one object of the target interface in the first mode corresponding to the time period to which the system time belongs.

[0052] If the ambient light data of the electronic device is less than or equal to a preset second ambient light threshold, the electronic device obtains a sixth display image of at least one object of the target interface in the second mode corresponding to the time period to which the system time belongs.

[0053] The first ambient light threshold is greater than the second ambient light threshold.

[0054] In the present application, the electronic device can display images of each object in the target interface in the first mode or the second mode corresponding to different pre-configured ambient lights. For example, a third display image with a higher brightness is displayed for each object in the target interface in a bright environment; a fourth display image with a lower brightness is displayed for each object in the target interface in a dark environment. The display of different display images adapted to the ambient light data from the electronic device can provide users with a more comfortable eye experience that is more adapted to the ambient light, and enriches the display effect of the target interface.

[0055] In another possible implementation of the first aspect, at least one object includes a sixth object. The preset update instruction includes a sixth update sub-instruction, and the sixth update sub-instruction is used to represent the switching instruction between the first mode and the second mode. The motion effect parameter includes a sixth motion effect sub-parameter corresponding to the sixth update sub-instruction, and the sixth motion effect sub-parameter includes a sixth motion effect duration, a third transparency, a fourth transparency, a third size, and a fourth size corresponding to the sixth object. Among them, the third transparency is less than the fourth transparency; the third size is different from the fourth size.

[0056] The electronic device displays a display image of at least one object on a target interface, including:

[0057] The electronic device displays a display image of the sixth object corresponding to the first mode on the target interface.

[0058] The electronic device responds to the preset update instruction, updates the target interface with the dynamic effect parameter, and adjusts at least one of the displayed image, displayed transparency, displayed position, and displayed size of at least one object in the target interface, including:

[0059] In response to the sixth update sub-instruction, the electronic device updates the display transparency of the display image of the sixth object corresponding to the first mode from the fourth transparency to the third transparency, and updates the display transparency of the display image of the sixth object corresponding to the second mode from the third transparency to the fourth transparency; the electronic device updates the display size of the display image of the sixth object in the target interface from the third size to the fourth size.

[0060] In the present application, the electronic device can display images of each object in the target interface in the first mode or the second mode corresponding to different pre-configured ambient lights. When the switch between the bright environment and the dark environment is generated, the sixth update sub-instruction for switching between the first mode and the second mode is generated. The electronic device can respond to the fifth update sub-instruction to obtain the display images of each object in the target interface in the corresponding mode, and realize the replacement and update of the display image of the sixth object in the target interface, so as to avoid the problem of long-term continuous static display of the display image of the object in the target interface, thereby reducing the risk of screen burn-in caused by long-term continuous static display of the display screen of the electronic device. Moreover, the display of different display images adapted to the ambient light data output by the electronic device is realized, which can provide users with a more comfortable eye experience that is more adapted to the ambient light, and further enrich the display effect of the target interface.

[0061] In another possible implementation of the first aspect, if the operation of displaying the target interface is the first operation of displaying the target interface after the electronic device is in the screen-off display mode, the animation parameters include a seventh animation sub-parameter corresponding to the operation of displaying the target interface.

[0062] The at least one object includes a seventh object. The seventh motion effect sub-parameter includes a seventh motion effect duration, a fifth transparency, and a sixth transparency corresponding to the seventh object. The sixth transparency is less than the fifth transparency, and the seventh motion effect duration includes the first sub-duration.

[0063] The electronic device displays a display image of at least one object on a target interface, including:

[0064] The electronic device updates the display transparency of the display image of the seventh object in the target interface from the fifth transparency to the sixth transparency within the first sub-period.

[0065] In the present application, the dynamic change effect of the target interface entry is achieved by changing the transparency of the display image of the seventh object in the target interface, which can bring a more immersive usage experience to the user.

[0066] In another possible implementation of the first aspect, the seventh motion effect sub-parameter further includes the fifth size and the sixth size corresponding to the seventh object, wherein the sixth size is smaller than the fifth size, and the seventh motion effect duration further includes the second sub-duration.

[0067] Displaying a display image of the seventh object at the sixth transparency on the target interface includes:

[0068] Within the second sub-time period, the electronic device adjusts the display image of the seventh object in the target interface from the fifth size to the sixth size, and displays the display image of the seventh object corresponding to the sixth size at the sixth transparency on the target interface.

[0069] In the present application, the update of the size of the display image of each object is added to the dynamic display effect of entering the target interface, so that the dynamic display effect of entering the target interface is richer.

[0070] In another possible implementation of the first aspect, the seventh motion effect sub-parameter further includes the eighth motion effect duration, the third position, and the fourth position of the seventh object, wherein the third display position is different from the fourth display position.

[0071] The electronic device displays a display image of at least one object on a target interface, including:

[0072] The electronic device displays a display image of the seventh object at a third position of the target interface.

[0073] The method further includes:

[0074] After the seventh animation effect duration, within the eighth animation effect duration, the electronic device updates the display position of the display image of the seventh object in the target interface from the third position to the fourth position.

[0075] In the present application, after completing the dynamic display of the entry of the target interface, the display position of each object in the target interface is updated to avoid the problem of the display image of the object in the target interface being displayed statically for a long time, thereby reducing the risk of screen burn-in caused by long-term continuous static display of the display screen of the electronic device.

[0076] In another possible implementation of the first aspect, the motion effect parameter package includes an eighth motion effect sub-parameter; at least one object includes an eighth object; the eighth motion effect sub-parameter includes a ninth motion effect duration, a seventh transparency and an eighth transparency corresponding to the eighth object; and the eighth transparency is less than the seventh transparency.

[0077] The method further includes:

[0078] When the electronic device receives an operation to exit the target interface, the electronic device updates the display transparency of the display image of the eighth object in the target interface from the eighth transparency to the seventh transparency within the ninth animation effect duration, and exits the target interface.

[0079] In the present application, the dynamic change effect of the exit of the target interface is achieved by changing the transparency of the display image of the seventh object in the target interface, which can bring a more immersive usage experience to the user.

[0080] In another possible implementation of the first aspect, if the target interface includes multiple objects,

[0081] The animation duration of each object in the animation parameters corresponding to the preset update instruction is different;

[0082] Alternatively, the display transparency of each object in the dynamic effect parameters corresponding to the preset update instruction is different;

[0083] Alternatively, the display positions of the objects in the dynamic effect parameters corresponding to the preset update instructions are different;

[0084] Alternatively, the display sizes of the objects in the dynamic effect parameters corresponding to the preset update instructions are different.

[0085] In this application, the electronic device can dynamically display the display images of each object in the target interface based on the dynamic effect parameters configured in the target interface. The dynamic effect parameters can represent different dynamic display effects of different objects, or the dynamic display effects of different dimensions of the same object, so that the electronic device can dynamically display the target interface with richer effects and optimize the user experience of using the target interface.

[0086] In a second aspect, an electronic device is provided, which includes a memory, a display screen and one or more processors; the memory and the display screen are coupled to the processor; the memory stores computer program code, and the computer program code includes computer instructions, and when the computer instructions are executed by the processor, the electronic device executes a method as described in any one of the above-mentioned first aspects.

[0087] According to a third aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is executed on an electronic device, the electronic device can execute any one of the methods according to the first aspect.

[0088] According to a fourth aspect, a computer program product comprising instructions is provided, which, when executed on an electronic device, enables the electronic device to execute any one of the methods according to the first aspect.

[0089] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor, the processor being used to call a computer program in a memory to execute the method of the first aspect.

[0090] It can be understood that the beneficial effects that can be achieved by the electronic device described in the second aspect, the computer-readable storage medium described in the third aspect, the computer program product described in the fourth aspect, and the chip described in the fifth aspect provided above can refer to the beneficial effects in the first aspect and any possible design method thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0091] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0092] Figure 2 A schematic diagram of a process of an off-screen display method provided in an embodiment of the present application and a target interface of a mobile phone in an off-screen display mode;

[0093] Figure 3 A schematic diagram of multiple display interfaces of a clock display interface set provided in an embodiment of the present application;

[0094] Figure 4 A schematic diagram of a process of another screen-off display method provided in an embodiment of the present application and a target interface of a mobile phone in the screen-off display mode;

[0095] Figure 5 A schematic diagram of adjusting the display position of a first object in a target interface provided by an embodiment of the present application;

[0096] Figure 6 A schematic diagram of adjusting the display position of a second object in a target interface provided by an embodiment of the present application;

[0097] Figure 7 A schematic diagram of adjusting the display size of a third object of a target interface provided by an embodiment of the present application;

[0098] Figure 8 A schematic diagram of adjusting a display image of a fourth object of a target interface provided by an embodiment of the present application;

[0099] Fig. 9 A schematic diagram of a target interface with two time periods provided in an embodiment of the present application;

[0100] Fig.10 A schematic diagram of a target interface with four time periods provided in an embodiment of the present application;

[0101] Fig.11 A schematic diagram of adjusting a display image of a fifth object of a target interface provided by an embodiment of the present application;

[0102] Fig.12 A schematic diagram of a target interface of a first mode and a second mode corresponding to different time periods provided in an embodiment of the present application;

[0103] Fig.13 A schematic diagram of switching from a target interface of a first mode to a target interface of a second mode provided in an embodiment of the present application;

[0104] Fig.14 A schematic diagram of switching from a target interface of a second mode to a target interface of a first mode provided in an embodiment of the present application;

[0105] Fig.15 A schematic diagram of a process of displaying a mountain clock display interface for the first time provided in an embodiment of the present application;

[0106] Fig.16 A schematic diagram of a process of exiting a mountain clock display interface provided in an embodiment of the present application;

[0107] Fig.17 A schematic diagram of display image size changes during the entry of multiple target interfaces provided in an embodiment of the present application;

[0108] Fig.18 A schematic diagram of changing the position of a displayed image after a target interface enters the scene provided by an embodiment of the present application;

[0109] Fig.19 A schematic diagram of the structure of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0110] In the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and the appended claims of the present application, the singular expressions "a", "said", "above", "the" and "this" are intended to also include such expressions as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two). The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are a kind of "or" relationship.

[0111] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connection" includes direct connection and indirect connection, unless otherwise specified. "First" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.

[0112] In the embodiments of the present 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 the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0113] As users' demands for different scenarios increase, electronic devices can realize more and more functions, and the intelligent display functions of electronic devices are becoming more and more powerful. For example, intelligent display includes screen-off display, projection display, and so on. Among them, screen-off display refers to when the electronic device is in the screen-off locked state, part of the display screen can remain bright and display time, power, weather, message notifications and other information. Screen-off display can also be called always on display (AOD), standby display, screen-off display, screen-off display, etc. Without unlocking the screen or turning on the screen, users can view information such as time, weather, the power of electronic devices, or message notifications, which simplifies the operation of users viewing these messages.

[0114] When the electronic device is in the screen-off display mode, the interface displayed on the screen may include one or more interfaces. For example, interface 1 is an interface including clock information. For example, interface 2 is an interface including clock information and other information (such as alarm information, etc.). For example, interface 3 is an interface including weather information. For example, interface 4 is an interface including picture information, and interface 4 can dynamically display pictures in the electronic device's photo album. For example, interface 5 is an interface including calendar information. For example, interface 6 is an interface including foreground running application information; illustratively, a music application runs when the electronic device is on the screen, and when the electronic device is in the screen-off display mode, interface 6 may be the corresponding display interface of the music application in the screen-off display mode, and so on.

[0115] When an electronic device is in the screen-off display mode, if a certain interface is displayed statically for a long time, there is a risk of screen burn-in on the display screen of the electronic device. For example, the electronic device is in the screen-off display mode and displays interface 2 in the screen-off display interface. If the display image of the object in interface 2 is continuously statically displayed at a certain position, or the display image of the object in interface 2 is continuously statically displayed in the same size, etc., such continuous static display will cause the pixels in the display area to be in the display state (luminous state) all the time, which will increase the risk of screen burn-in on the display screen of the electronic device.

[0116] The embodiment of the present application provides a screen-off display method, when the electronic device is in the screen-off display mode, the electronic device responds to the user's operation of displaying the target interface, and obtains the display image of at least one object in the target interface corresponding to the system time. Wherein, the target interface is one of the multiple display interfaces in the screen-off display mode, and the target interface is configured with a dynamic effect parameter corresponding to the preset update instruction, and the dynamic effect parameter includes the dynamic effect duration, display transparency, display position and display size of at least one object. The electronic device displays the display image of at least one object in the target interface. The electronic device updates the target interface with the dynamic effect parameter in response to the preset update instruction, and adjusts at least one of the display image, display transparency, display position and display size of at least one object in the target interface. In the embodiment of the present application, the electronic device can update the display image of at least one object in the target interface in response to the preset update instruction, or the display transparency of the display image, or the display position of the display image, or the display size of the display image, etc., so that the target interface avoids the problem of long-term continuous static display, thereby reducing the risk of screen burn-in caused by long-term continuous static display of the display screen of the electronic device.

[0117] The electronic device in the embodiment of the present application may be an electronic device with a display screen, and the electronic device has a screen-off display function. Exemplarily, the electronic device may be a portable electronic device, a personal computer (PC), an augmented reality (AR) or virtual reality (VR) device, etc. The portable electronic device may be a mobile phone, a tablet computer, a laptop computer, a wearable electronic device (such as a smart watch), etc. The exemplary embodiments of the portable electronic device include but are not limited to a device equipped with Or other portable electronic devices with operating systems. The following embodiments do not impose any special restrictions on the specific form of the electronic device.

[0118] Figure 1 A schematic structural diagram of an electronic device 100 is shown.

[0119] 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 audio module 170, a sensor module 180, a display screen 190, etc. The sensor module 180 may include a pressure sensor 180A, an acceleration sensor 180B, a proximity light sensor 180C, a touch sensor 180D, an ambient light sensor 180E, etc.

[0120] It is to be understood that the structure illustrated in the embodiment of the present invention does 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 in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0121] 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 processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0122] 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.

[0123] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0124] In some embodiments, the processor 110 may include one or more interfaces. The interface 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, etc.

[0125] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic 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 in the above embodiments, or a combination of multiple interface connection methods.

[0126] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0127] 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 screen 190, etc. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. 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.

[0128] The electronic device 100 implements the display function through a GPU, a display screen 190, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 190 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0129] The display screen 190 is used to display images, videos, etc. The display screen 190 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 or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 190, where N is a positive integer greater than 1.

[0130] In some embodiments, when the display panel adopts OLED, the function can be independently controlled based on the pixel points of OLED, and only the part that needs to be displayed can be lit. In other words, when the display panel of the electronic device adopts OLED, the screen-off display function can be realized. Some sub-pixels of the display panel are lit to display the corresponding image, while some sub-pixels of the display panel that do not need to be displayed do not emit light and present a black area.

[0131] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0132] 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 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0133] 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. The internal memory 121 may include a program storage area and a data storage area. Among them, 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.), 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.

[0134] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, speakers, receivers, microphones, headphone interfaces, and application processors.

[0135] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0136] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 190. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, 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 acts on the display screen 190, the electronic device 100 detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A.

[0137] In some embodiments, when the electronic device is in the screen-off display mode, if the electronic device detects the pressure applied to the display screen by the user through the pressure sensor, for example, the user presses the display screen once, the electronic device displays the display interface included in the screen-off display mode in the screen-off display mode in response to the user's one pressing operation.

[0138] The acceleration sensor 180B can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0139] In some embodiments, when the electronic device is in the screen-off display mode, if the electronic device detects through the acceleration sensor that the electronic device is in a horizontal position, and detects through the pressure sensor the pressure applied by the user to the display screen, for example, the user presses the display screen once, the electronic device displays the display interface included in the screen-off display mode in the screen-off display mode in response to the user's one pressing operation.

[0140] The proximity light sensor 180C may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180C to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180C can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0141] The ambient light sensor 180E is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 190 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180E can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0142] In some embodiments, when the electronic device displays the display interface included in the screen-off display mode, the electronic device may detect ambient light data of the electronic device through an ambient light sensor, and when the ambient light data is greater than or equal to a preset first ambient light threshold, the electronic device displays the display interface in the first mode; when the ambient light data is less than or equal to a preset second ambient light threshold, the electronic device displays the display interface under the second module.

[0143] The touch sensor 180D is also called a "touch panel". The touch sensor 180D can be arranged on the display screen 190, and the touch sensor 180D and the display screen 190 form a touch screen, also called a "touch screen". The touch sensor 180D is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 190. In other embodiments, the touch sensor 180D can also be arranged on the surface of the electronic device 100, which is different from the position of the display screen 190.

[0144] In some embodiments, when the electronic device is in the screen-off display mode, if the electronic device detects a touch operation of the user on the display screen through a touch sensor, for example, the user touches the display screen once, the electronic device displays the display interface included in the screen-off display mode in the screen-off display mode in response to the one touch operation.

[0145] The present application provides a method for displaying a screen off that can be applied to Figure 1 In the electronic device 100, this embodiment briefly introduces the method and conditions for turning on the screen-off display mode of the electronic device.

[0146] For example, the user can enter the interface corresponding to "Smart Display" through the "Smart Display" function option in the system setting interface of the electronic device, and turn on the "Screen Off Display" function option in the interface. After turning on the screen off display function, the user turns off the screen of the electronic device, and the electronic device can enter the screen off display mode; in the screen off display mode, the default interface in the screen off display mode or one of the display interfaces in the screen off display mode is displayed.

[0147] For example, the user can also enable the off-screen display function by turning on the "standby display" function option in the system setting interface of the electronic device. After turning on the off-screen display function, the electronic device can enter the off-screen display mode after the user turns off the screen of the electronic device; in the off-screen display mode, the default interface in the off-screen display mode or one of the display interfaces in the off-screen display mode is displayed.

[0148] In some embodiments, further conditions may be imposed on the electronic device entering the off-screen display mode. For example, after the electronic device turns on the off-screen display function, the electronic device can enter the off-screen display mode and display the display interface corresponding to the off-screen display mode only if it is in a preset state.

[0149] For example, when the electronic device turns off the screen, if the electronic device detects that it is in a horizontal position, the electronic device enters the screen-off display mode. Or, for example, when the electronic device turns off the screen, if the electronic device detects that it is in a horizontal position and the electronic device is in a charging state, the electronic device enters the screen-off display mode.

[0150] It should be understood that when the electronic device is in a horizontal position, the display interface in the screen-off display mode is also in a horizontal display form.

[0151] In some embodiments, the electronic device may actively enter the screen-off display mode after a period of time after the screen is off, and display a display interface in the screen-off display mode. For example, after the electronic device screen is off for 5 seconds, the electronic device actively enters the screen-off display mode and displays the default interface in the screen-off display mode.

[0152] Alternatively, after the electronic device turns off the screen, the electronic device may enter the screen-off display mode in response to a specified operation to display a display interface in the screen-off mode. For example, after the electronic device turns off the screen, the electronic device enters the screen-off display mode in response to a user's single-click operation of the power button, and displays a default interface of the screen-off display mode.

[0153] Here, in order to avoid the problem of misoperation, the specified operation of triggering the electronic device to display a display interface in the screen-off display mode is different from the operation corresponding to triggering other functions of the electronic device. For example, the specified operation of triggering the display of a display interface in the screen-off display mode is different from the operation of waking up the electronic device to light up the screen. Exemplarily, the operation of waking up the electronic device to light up the screen can be double-clicking the display screen; then, the specified operation of triggering the display of a display interface in the screen-off display mode can be single-clicking the power button, single-clicking the display screen, long pressing the display screen, triple-clicking the display screen, sliding operations, etc. This embodiment does not limit the specific specified operations.

[0154] In some embodiments, for the interface displayed by the electronic device in the screen-off display mode, the electronic device can perform periodic or conditional interface updates based on preset update instructions to avoid the increased risk of display screen burn-in caused by the long-term continuous static display of the display interface in the screen-off display mode.

[0155] refer to Figure 2 For example, the electronic device is a mobile phone, and the mobile phone enters the screen-off display mode when the screen-off display function is turned on and the mobile phone is placed horizontally. Figure 2 A process of a screen-off display method and a schematic diagram of a target interface when a mobile phone is in a screen-off display mode are provided, including:

[0156] S201. When the electronic device is in the screen-off display mode, the electronic device responds to a user's operation of displaying a target interface and obtains a display image of at least one object in the target interface corresponding to a system time.

[0157] Among them, the operation of displaying the target interface can be a preset operation different from triggering other functions of the electronic device, such as the user single-clicking the power button, single-clicking the display screen, long pressing the display screen, triple-clicking the display screen, sliding operation, etc.

[0158] For example, after the electronic device turns on the screen-off display function, when the electronic device is placed horizontally in the screen-off display mode, if the electronic device receives an operation of the user clicking the power button, the reference Figure 2 (a) in the figure. In response to the user clicking the power button, the electronic device acquires a display image of the target interface corresponding to the system time. In the following embodiments, the operation of clicking the power button is used as an example to trigger the electronic device to display the display interface of the screen-off display mode.

[0159] In some embodiments, after the electronic device turns off the screen, if the electronic device determines that it is in a horizontal position, it can display the default display interface in the screen-off display mode (or the previous display interface) in response to the user clicking the power button; or, when the electronic device is in the screen-on state, if the electronic device determines that it is in a stable horizontal state for a period of time, when the electronic device receives the user clicking the power button operation, it can also enter the screen-off display mode after the screen is turned off from the screen-on state, thereby displaying the default display interface in the screen-off display mode (or the previous display interface).

[0160] The target interface is one of the multiple display interfaces included in the off-screen display mode. For example, the off-screen display mode may include a clock display interface, a weather display interface, a calendar display interface, an album display interface, and other user-defined application display interfaces.

[0161] In some embodiments, some display interfaces may include display interfaces of multiple different styles. Such display interfaces form a set of display interfaces of the same type. Each display interface may include a display image of one or more objects.

[0162] In some embodiments, display interfaces of different styles under the same display interface type may be classified as the same type of display interface set; or specified display interfaces of different types may be classified as a type of display interface set. For example, a clock display interface, a calendar display interface, and a weather display interface may be classified as a type of display interface set; a user-defined display interface may be classified as a type of display interface set, and so on. For example, a clock display interface may include a clock dial display interface, a digital clock display interface, a mountain clock display interface, and other clock display interfaces of different styles. The clock dial display interface, the digital clock display interface, and the mountain clock display interface may be classified as the same type of display interface set (clock display interface set).

[0163] The same type of display interface occupies one display page. For example, the current display interface of the electronic device is display interface set 1, and display interface set 1 occupies page 1 of the screen-off display mode. The user can swipe left on the current display interface to switch to the display interface of display interface set 0, where display interface set 0 occupies page 0 of the screen-off display mode. The user can swipe right on the current display interface (an interface in display interface set 1) to switch to the display interface of display interface set 2, where display interface set 2 occupies page 2 of the screen-off display mode.

[0164] In some embodiments, the default display interface of the display page corresponding to the same type of display interface set and the display order of each display interface on the display page can be customized. For example, display interface set 0 includes display interface 1, display interface 2, and display interface 3. Display interface set 0 occupies page 0 of the screen-off display mode. Customizable interface 1 is the default display interface for entering page 0; after entering page 0, display interface 1 is displayed by default. Swipe up on display interface 1 to switch to display interface 2; swipe down on display interface 1 to switch to display interface 3. Then, the arrangement order of the display interfaces on page 0 is display interface 2, display interface 1, display interface 3, and so on.

[0165] It can be understood that this embodiment does not limit the number of display pages included in the screen-off display mode, the set of display interfaces displayed on each display page, the default display interface of each display page, the arrangement order of the display interfaces in each display page, the switching operations between different display pages, and the specific form of the switching operations between different display interfaces in the same display page.

[0166] In some embodiments, when the user switches between interfaces of different types of display interface sets by swiping left or right, the electronic device can dynamically display the switched interface by scaling it from size 1 to size 2. For example, the electronic device currently displays display interface 1 in display interface set 0, and switches to display interface 2 by swiping up. When the electronic device displays the switched display interface 2, it can enlarge the size of the display interface 2 from a smaller size 1 to a normal size 2 for display. Alternatively, when the electronic device displays the switched display interface 2, it can enlarge the size of the display interface 2 from a larger size 1 to a normal size 2 for display. Among them, when dynamically scaling the display interface 2, the display interface 2 can be regarded as a whole for scaling operation, or each object in the display interface 2 can be scaled.

[0167] In some embodiments, when the user switches the display of the interface of the same type of display interface set by swiping up or down, the electronic device can also dynamically display the switched interface by scaling it from size 3 to size 4. For example, the electronic device currently displays display interface 1 in display interface set 0, and switches to display interface 3 in display interface set 1 by swiping left. When the electronic device displays the switched display interface 3, it can enlarge the size of the display interface 3 from a smaller size 3 to a normal size 4 for display. Alternatively, when the electronic device displays the switched display interface 3, it can enlarge the size of the display interface 3 from a larger size 3 to a normal size 4 for display. Among them, when the display interface 3 is dynamically scaled, the display interface 3 can be regarded as a whole for scaling operation, or each object in the display interface 3 can be scaled.

[0168] It is understandable that the electronic device can also display the display interface before or after the switching process through other set dynamic display effects, such as color gradient, size scaling, transparency change, etc., to enrich the dynamic display effect during the switching display interface.

[0169] For example, Figure 3 The present invention provides a schematic diagram of the process of switching the display of an interface in a clock display interface set by sliding up or down in an electronic device. Figure 3 (a), the clock display interface is a first clock dial display interface. The clock dial display interface may include a display image of a clock dial clock suitable for the display screen size and a display image of an alarm time. Figure 3 (b), the clock display interface is a second clock dial display interface. The second clock dial display interface may include a display image of a small-sized clock dial and a display image of a calendar. Figure 3(c), the clock display interface is a mountain clock display interface. The mountain clock display interface may include a display image of digital time, a display image of a mountain, a display image of a cloud, a display image of a background, etc. The display images of objects included in different display interfaces may be customized to have different styles.

[0170] If the current display interface of the electronic device is a clock face clock display interface of the clock display interface set, the user can switch to the next display interface belonging to the clock display interface set by swiping up or down. Figure 3 , if the current interface is the first clock face display interface ( Figure 3 (a)), the user can slide down to switch to the first clock face display interface ( Figure 3 (b)); the current interface is the first clock dial display interface ( Figure 3 (a)), the user can swipe up to switch to the mountain clock display interface ( Figure 3 (c)).

[0171] In some embodiments, taking the target interface as a mountain clock display interface, if the mountain clock display interface is the default display interface of the display page where the target interface is located, when the electronic device is in the screen-off state, the mountain clock display interface can be displayed in response to the user's single-click operation of the power button. Before displaying the mountain clock display interface, the electronic device obtains a display image of the mountain clock display interface corresponding to the system time in response to the user's single-click operation of the power button.

[0172] If the Mountain Clock display interface is not the default display interface of the display page where it is located, when the electronic device is in the screen-off display state, in response to the user's single-click operation of the power button, the electronic device displays the default display interface of the display page where the Mountain Clock display interface is located (for example, the clock dial clock display interface); or the electronic device is displaying the clock dial clock display interface (refer to Figure 4(a)). In this case, the user's operation of displaying the target interface is the user's switching display operation in the default display interface. Exemplarily, the default display interface or the current display interface is a clock dial clock display interface, and the user can switch the display interface to the mountain clock display interface by sliding up or down. Before the electronic device switches to display the mountain clock display interface and during the switching process, the electronic device responds to the user's switching display operation of sliding up or down on the clock dial clock display interface, and obtains the display image of the target interface corresponding to the system time. Or, the electronic device is displaying other interfaces that do not belong to the same display interface set as the mountain clock display interface. In this case, the user's operation of displaying the target interface is the user's switching display operation in the current display interface. Exemplarily, the current display interface is a calendar display interface, and the user can switch the display interface to the mountain clock display interface by sliding left or right. Before the electronic device switches to display the mountain clock display interface and during the switching process, the electronic device responds to the user's switching display operation of the calendar display interface on the calendar display interface, and obtains the display image of the target interface corresponding to the system time.

[0173] S202: The electronic device displays a display image of at least one object on a target interface.

[0174] In this embodiment, after the electronic device acquires the display image of at least one object of the target interface corresponding to the system time, it displays the display image of at least one object in the target interface in the screen-off display mode.

[0175] Take the target interface as a mountain clock display interface as an example. At least one object in the target interface includes digital time, clouds, mountains, and background, etc., then the display image of at least one object acquired by the corresponding electronic device may include a display image of digital time, a display image of mountains, a display image of clouds, a display image of background, etc.

[0176] Exemplarily, in response to a user clicking a power button when the electronic device is off screen, the electronic device acquires a display image of a mountain clock display interface corresponding to the system time (reference Figure 2 (a)); the electronic device displays the acquired peak clock display interface digital time display image, mountain display image, cloud display image, background display image, reference Figure 2 Middle (b).

[0177] For example, in response to a user sliding up or sliding down the clock display interface on the clock dial, the electronic device acquires a display image of the mountain clock display interface corresponding to the system time (reference Figure 4 (a)- Figure 4(b)); the electronic device switches the display interface from the clock dial display interface to the mountain clock display interface, and displays the acquired digital time display image of the mountain clock display interface, the mountain display image, the cloud display image, and the background display image, which can be referred to Figure 4 (c). Among them, Figure 4 (b) shows a schematic diagram of a frame in the process of switching from the clock dial display interface to the mountain clock display interface.

[0178] In some embodiments, when the electronic device displays a display interface in the screen-off display mode, it can display display images of various objects included in the corresponding interface based on preset motion effect parameters.

[0179] Among them, the preset motion effect parameters can characterize the dynamic display mode of each object in the display interface. For example, the motion effect parameters may include the object's motion effect duration, display transparency, display position, and display size, etc. Among them, the motion effect duration is used to characterize the time taken for the object to update from the first state to the second state. The display transparency includes at least two transparency values ​​of the object's display image. The display position includes at least two positions of the object's display image in the target interface. The display size includes at least two sizes of the object's display image.

[0180] Exemplarily, the animation duration can represent the duration for the display image of the object to be updated from a first transparency value to a second transparency value; the animation duration can represent the duration for the display image of the object to be updated from a first position to a second position; the animation duration can represent the duration for the display image of the object to be updated from a first size to a second size.

[0181] In some embodiments, if the target interface includes multiple objects, the dynamic effect parameters can define the dynamic display methods of different objects. In some embodiments, the dynamic display methods of different objects can be different.

[0182] For example, during the duration of the motion effect 1, the electronic device updates the display image of object 1 from the first transparency to the second transparency; during the duration of the motion effect 2, the electronic device updates the display image of object 2 from the first position to the second position; during the duration of the motion effect 3, the electronic device updates the display image of object 3 from the first size to the second size.

[0183] For example, within the duration of the animation 1, the electronic device updates the display image of object 1 from the first transparency to the second transparency; within the duration of the animation 2, the electronic device updates the display image of object 2 from the first transparency to the third transparency. The first transparency, the second transparency, and the third transparency are different; for example, the first transparency can be 0, the second transparency can be 1, and the third transparency can be 0.8.

[0184] For example, within the duration of the animation 1, the electronic device updates the display image of object 1 from the first position to the second position; within the duration of the animation 2, the electronic device updates the display image of object 2 from the third position to the fourth position. The first position, the second position, the third position, and the fourth position are all different positions in the target interface.

[0185] For example, during the duration of the animation 1, the electronic device updates the display image of object 1 from the first size to the second size; during the duration of the animation 2, the electronic device updates the display image of object 2 from the third size to the fourth size. The first size, the second size, the third size, and the fourth size are all different.

[0186] In some embodiments, different motion effect parameters of the same object may be dynamically displayed in different ways.

[0187] For example, in the animation duration 1, the electronic device updates the display image of object 1 from the first transparency to the second transparency; in the animation duration 2, the electronic device updates the display image of object 1 from the first position to the second position, etc. The animation duration 1 is different from the animation duration 2.

[0188] In this embodiment, the electronic device can dynamically display the display images of each object in the target interface based on the dynamic effect parameters configured in the target interface. The dynamic effect parameters can represent different dynamic display effects of different objects, or dynamic display effects of different dimensions of the same object, so that the electronic device can dynamically display the target interface with richer effects and optimize the user experience of using the target interface.

[0189] S203. The electronic device updates the target interface with the dynamic effect parameters in response to the preset update instruction, and adjusts at least one of the display image, display transparency, display position and display size of at least one object in the target interface.

[0190] In this embodiment, the electronic device can update the displayed target interface when receiving a preset update instruction. For different update instructions, the dynamic display mode of each object in the target interface can be different.

[0191] That is, the dynamic effect parameters of the target interface corresponding to the preset update instruction can be configured. Among them, in the dynamic effect parameters corresponding to the preset update instruction, the dynamic effect duration of each object configured can be different. For example, in the dynamic effect parameters corresponding to the preset update instruction, the dynamic effect duration of object 1 is duration 1, and the dynamic effect duration of object 2 is duration 2.

[0192] In some embodiments, in the preset effect parameters corresponding to the update instruction, the display transparency of each object configured may be different. For example, in the preset effect parameters corresponding to the update instruction, the display transparency of object 3 includes a first transparency and a second transparency; the display transparency of object 4 includes a third transparency and a fourth transparency.

[0193] In some embodiments, in the preset update instruction corresponding to the dynamic effect parameters, the display positions of the configured objects are different. For example, in the preset update instruction corresponding to the dynamic effect parameters, the display position of object 5 includes the first position and the second position; the display position of object 6 includes the third position and the fourth position.

[0194] In some embodiments, in the preset update instruction corresponding to the dynamic effect parameters, the display sizes of the configured objects are different. For example, in the preset update instruction corresponding to the dynamic effect parameters, the display size of object 7 includes a first size and a second size; the display size of object 8 includes a third size and a fourth size.

[0195] The electronic device responds to the preset update instruction and updates the mountain clock display interface with the dynamic effect parameters corresponding to the preset update instruction. Figure 2 (b) and Figure 2 (c) in the above, or, refer to Figure 4 (c) and Figure 4 (d) in the figure. Exemplarily, within the duration of the animation 1, the electronic device updates the display image of the digital time in the mountain clock display interface from the first size to the second size. The second size is smaller than the first size. Within the duration of the animation 2, the electronic device moves the display image of the mountain from the first position to the left and updates the display image of the mountain to the second position. Within the duration of the animation 3, the electronic device moves the display image of the cloud from the third position to the right and updates the display image of the cloud to the fourth position.

[0196] In some embodiments, the preset update instruction may include multiple preset update instructions, and the multiple preset update instructions may include a periodic update instruction and a conditional update instruction.

[0197] Among them, the periodic update instruction may include an instruction to trigger the electronic device to update the target interface at regular intervals. For example, the interface is updated every 1 minute, every 2 minutes, and so on. In this embodiment, the periodic duration of the periodic update instruction can be determined according to the upper limit of the duration of the continuous static display that causes the display screen to burn in. For example, if the duration of the continuous static display exceeds 1 minute, the probability of the display screen burning will increase sharply, and 1 minute is the upper limit of the duration. The periodic update instruction may be to update the interface every 1 minute. For example, if the duration of the continuous static display exceeds 3 minutes, the probability of the display screen burning will increase sharply, and 3 minutes is the upper limit of the duration. The periodic update instruction may be to update the interface every 3 minutes.

[0198] When the electronic device displays the clock display interface in the screen-off display mode, the display image corresponding to the time includes a digital image for representing the hour and a digital image for representing the minute (reference Figure 4 In this case, the instruction to update the interface every minute may also be an instruction to change the digital image of the minute in the clock display interface. Correspondingly, the instruction to change the digital image of the hour in the clock display interface may be an instruction to update the interface every hour. That is, when the system time of the electronic device is aligned with the world time, the digital image representing the minute in the time image is updated every minute, and the digital image representing the hour in the time image is updated every hour according to the minute and hour change cycle of the world time.

[0199] In some embodiments, the conditional update instruction may represent an instruction to trigger an electronic device to update a target interface under certain specified conditions. For example, a day of 24 hours is divided into multiple time periods. After the system time of the electronic device is aligned with the world time, when the system time of the electronic device moves from time period 1 to the next time period, an update instruction of the target interface triggered by the time period switching may be generated. For example, the divided time periods include 6:00-18:00 (time period 1) and 18:00-6:00 (time period 2). When the system time moves from 17:59 to 18:00, a switch between time period 1 and time period 2 occurs, and an update instruction of the target interface is generated; when the system time moves from 5:59 to 6:00, a switch between time period 2 and time period 1 occurs, and an update instruction of the target interface is generated. Among them, the multiple time periods may include at least two time periods, which may be 3 time periods, 4 time periods, 5 time periods, and the like. The division of time periods may be divided according to sunrise and sunset times.

[0200] In some embodiments, illustratively, the conditional update instruction may also be an update instruction generated by switching between different modes.

[0201] Exemplarily, different modes may be modes corresponding to the ambient light in which the electronic device is located. For example, when the ambient light in which the electronic device is located is relatively bright, the mode is a bright mode; when the ambient light in which the electronic device is located is relatively dark, the mode is a dark mode. When the electronic device switches from an environment corresponding to the bright mode to an environment corresponding to the dark mode, when the electronic device detects a change in ambient light, a switch between the bright mode and the dark mode occurs, and an update instruction for the target interface is generated; or, when the electronic device switches from an environment corresponding to the dark mode to an environment corresponding to the bright mode, when the electronic device detects a change in ambient light, a switch between the dark mode and the bright mode occurs, and an update instruction for the target interface is generated.

[0202] Exemplarily, different modes may be modes corresponding to the ambient temperature of the electronic device. For example, when the ambient temperature of the electronic device is relatively warm, the mode is the warm mode; when the ambient temperature of the electronic device is relatively cold, the mode is the cold mode. When the electronic device switches from the environment corresponding to the warm mode to the environment corresponding to the cold mode, when the electronic device detects a change in ambient temperature, a switch between the warm mode and the cold mode occurs, and an update instruction for the target interface is generated; or, when the electronic device switches from the environment corresponding to the cold mode to the environment corresponding to the warm mode, when the electronic device detects a change in ambient temperature, a switch between the cold mode and the warm mode occurs, and an update instruction for the target interface is generated, and so on.

[0203] In some embodiments, the conditional update instruction may also include an entry update instruction for displaying the target interface for the first time and an exit update instruction for exiting the target interface. If the electronic device detects that the operation of displaying the target interface is the first display operation after the electronic device is in the screen-off display mode, a corresponding update instruction is generated; when the electronic device detects the operation of exiting the target interface, a corresponding update instruction is generated.

[0204] In some embodiments, the conditional update instruction may further include a specified update instruction. For example, the specified update instruction includes an instruction to update the target interface at a certain interval after the target interface is entered. For example, the specified update instruction is a user-defined instruction to update the target interface at a certain time. Exemplarily, the specified update instruction may be a user-defined instruction to update the target interface at 9:01 a.m., etc.

[0205] Whether it is a periodic update instruction or a conditional update instruction, the dynamic effect parameters corresponding to different update instructions may be different or the same. The dynamic effect parameters corresponding to an update instruction may represent the dynamic display method of one or more objects in the target interface. When the dynamic effect parameters represent the dynamic display method of multiple objects, the dynamic display method of each object may be different. This embodiment does not limit this.

[0206] In this embodiment, when the electronic device is in the screen-off display mode, the electronic device responds to the user's operation of displaying the target interface, and obtains the display image of at least one object in the target interface corresponding to the system time. Among them, the target interface is one of the multiple display interfaces in the screen-off display mode, and the target interface is configured with a dynamic effect parameter corresponding to the preset update instruction, and the dynamic effect parameter includes the dynamic effect duration, display transparency, display position and display size of at least one object. The electronic device displays the display image of at least one object in the target interface. In response to the preset update instruction, the electronic device updates the target interface with the dynamic effect parameter, and adjusts at least one of the display image, display transparency, display position and display size of at least one object in the target interface. The electronic device can update the display image of at least one object in the target interface in response to the preset update instruction, or the display transparency of the display image, or the display position of the display image, or the display size of the display image, etc., so that the target interface avoids the problem of long-term continuous static display, thereby reducing the risk of screen burn-in caused by long-term continuous static display of the display screen of the electronic device.

[0207] In some embodiments, the preset update instruction can be used to indicate the update position of the display image of the object in the target interface, and the display position of the object in the target interface can be updated to avoid long-term continuous static display, thereby reducing the risk of screen burn-in.

[0208] In some embodiments, at least one object in the target interface includes a first object. The preset update instruction includes a first update sub-instruction, and the first update sub-instruction can be used to instruct to periodically update the display position of the display image of the first object in the target interface.

[0209] The first object may include one or more objects in the target interface. For example, when the target interface is a mountain clock display interface, the first object may be objects such as digital time, clouds, mountains, and background in the mountain clock display interface.

[0210] The motion effect parameters include a first motion effect sub-parameter corresponding to the first update sub-instruction. The first motion effect sub-parameter includes a first motion effect duration, a first position, and a second position corresponding to the first object. The first position is different from the second position.

[0211] Exemplarily, the target interface is a mountain clock display interface, the first object includes a mountain, and the first animation sub-parameter may include a first animation duration 1 corresponding to the mountain, and a first position and a second position of the display image of the mountain. When the first object includes a mountain and a cloud, the first animation sub-parameter may include a first animation duration 1 corresponding to the mountain and a first position and a second position of the display image of the mountain, a first animation duration 2 corresponding to the cloud, and a first position and a second position of the display image of the cloud.

[0212] The first position of the cloud display image is different from the first position of the mountain display image; the second position of the cloud display image is different from the second position of the mountain display image. The display position of the display image refers to the coordinate position of the geometric center of the display image on the display screen.

[0213] When the first object includes multiple objects, the first animation duration of the multiple objects can be the same or different; the first positions of the multiple objects are different, and the second positions of the multiple objects are different. By setting different animation parameters for multiple objects, customized dynamic display effects for each object can be achieved, making the dynamic display effects richer and more vivid.

[0214] In the above embodiment, S202, the electronic device displays a display image of at least one object on the target interface, including:

[0215] The electronic device displays a display image of the first object at a first position of the target interface.

[0216] The first position may be an initial position (default position) of the first object on the target interface. The initial position refers to an initial position configured when configuring the layout of the first object on the target interface.

[0217] Alternatively, the first position may also represent the current display position of the first object on the target interface when the electronic device receives a preset update instruction, that is, the position of the electronic device before receiving the preset update instruction to update the position of the display image of the object.

[0218] Exemplarily, when the target interface is a mountain clock display interface and the first object includes a cloud, the first position may be a position corresponding to the upper left corner of the digital time image. Figure 5 The electronic device displays a cloud display image at the first position of the mountain clock display interface.

[0219] In the above embodiment, S203, the electronic device responds to the preset update instruction, updates the target interface with the dynamic effect parameter, and adjusts at least one of the displayed image, display transparency, display position, and display size of at least one object in the target interface, including a situation provided by this embodiment:

[0220] In response to the first update sub-instruction, the electronic device updates the display position of the display image of the first object in the target interface from the first position to the second position within the first animation duration.

[0221] For example, when the target interface is a mountain clock display interface and the first object includes a cloud, the animation parameters corresponding to the first update sub-instruction may include the first position, the second position and the first animation duration of the cloud. Figure 5The position of the cloud display image shown in (a) on the mountain clock display interface is the first position; the second position is the target position where the electronic device wants to move the cloud display image, refer to Figure 5 The first motion effect duration is the duration for the electronic device to move the displayed image of the cloud from the first position to the second position.

[0222] Taking the geometric center of the display screen as the coordinate origin, when the electronic device is placed horizontally, the horizontal axis is parallel to the horizontal line, and the vertical axis is perpendicular to the horizontal line. Among them, the first position of the display image of the cloud can be expressed as (x1, y1), the second position can be expressed as (x2, y2), and the first motion effect duration can be 10s. It can be understood that the specific value of the first motion effect duration can be determined according to the distance between the first position and the second position and the movement effect of the display image of the first object. In some embodiments, when the first update sub-instruction is a periodic update instruction, for example, the electronic device receives a first update sub-instruction every cycle duration 1, and the first motion effect duration is less than or equal to the cycle duration 1. For example, the cycle duration 1 of the first update sub-instruction is 1 minute (60s), the first motion effect duration is less than or equal to 60s, and the first motion effect duration can be 5s, 12s, 20s, and so on.

[0223] It can be understood that when the cycle length 1 is 60 seconds, the triggering frequency of the first update sub-instruction can be synchronized with the minute update frequency of the system time.

[0224] Exemplarily, the electronic device receives the first update sub-instruction, and in response to the first update sub-instruction, updates the cloud display image from the first position (x1, y1) to the second position (x2, y2) within 10 seconds. The electronic device updates the target interface by adjusting the display position of the cloud display image.

[0225] In some embodiments, the first object may include multiple objects, for example, the first object includes clouds and mountains. The animation parameters corresponding to the first update sub-instruction include the first animation duration 1 (12s) corresponding to the mountain and the first position (x11, y11) and the second position (x21, y21) of the displayed image of the mountain, the first animation duration 2 (10s) corresponding to the cloud, and the first position (x12, y12) and the second position (x22, y22) of the displayed image of the cloud.

[0226] When the first object includes multiple objects, the starting time of the electronic device updating the positions of the display images of the multiple objects can be kept synchronized. For example, in response to the first update sub-instruction, the electronic device starts to synchronously update the display positions of the display image of the mountain and the display image of the cloud at the first moment. That is, the electronic device takes the first moment as the starting moment, and within 10 seconds after the first moment, updates the display image of the mountain from the first position (x11, y11) to the second position (x21, y21). The electronic device can take the first moment as the starting moment, and within 12 seconds after the first moment, update the display image of the cloud from the first position (x12, y12) to the second position (x22, y22).

[0227] In some embodiments, the starting time when the electronic device updates the positions of the displayed images of multiple objects may not be synchronized.

[0228] In some embodiments, the first update sub-instruction is a periodic update instruction, which means that the electronic device receives a first update sub-instruction every other cycle. It can be understood that if the electronic device updates the display image of the first object from the first position to the second position based on the first update sub-instruction of the first cycle; when the electronic device receives the first update sub-instruction of the second cycle, the display image of the first object can be updated (restored) from the second position to the first position. The second cycle is the next cycle adjacent to the first cycle.

[0229] In some embodiments, the display image of the first object is updated from the first position to the second position, which may include two situations. One of them is that the electronic device hides the display image of the first object at the first position, and displays the display image of the first object at the second position, so as to achieve an instant update of the position of the display image of the first object. Another situation is that the electronic device moves the display image of the first object at the first position to the second position along a path based on a certain path between the first position and the second position. The path can be a path between two points of the first position and the second position, and can also be a path between the first position and the second position planned horizontally and vertically along the display screen.

[0230] Exemplarily, the display position of the display image of the first object in the target interface is the first position (x1, y1), referring to Figure 5 (a).

[0231] When the first cycle arrives, the electronic device receives the first first update sub-instruction, and in response to the first first update sub-instruction, updates the display image of the first object from the current position (x1, y1) (first position) to the position (x2, y2) (second position) within the first animation duration.

[0232] At this time, the display position of the display image of the first object in the target interface is position (x2, y2), refer to Figure 5 (b). At this time, the position (x2, y2) is used as the first position again.

[0233] When the second cycle arrives, the electronic device receives a second first update sub-instruction, and in response to the second first update sub-instruction, updates the display image of the first object from the current position (x2, y2) (first position) to the position (x1, y1) (second position) within the first animation duration.

[0234] At this time, the display position of the display image of the first object in the target interface is position (x1, y1). Figure 5 At this time, the position (x1, y1) is reset to the first position.

[0235] When the third cycle arrives, the electronic device receives the third first update sub-instruction, and in response to the third first update sub-instruction, updates the display image of the first object from the current position (x1, y1) (first position) to the position (x2, y2) (second position) within the first animation duration, referring to Figure 5 (b).

[0236] In this way, the electronic device periodically updates the display position of the display image of the first object based on the first update sub-instruction.

[0237] In some embodiments, the first update sub-instruction may also be a non-periodic update instruction. That is, the first update sub-instruction is an update instruction triggered when certain conditions are met. For example, when the electronic device detects an operation to display the target interface, it generates a first update sub-instruction after a preset interval such as after the target interface is fully displayed; in response to the first update sub-instruction, the display position of the display image of the first object is updated. The preset interval may be 1200ms. That is, when the electronic device displays the target interface in response to the operation to display the target interface, after an interval of 1200ms, the display position of the display image of the first object is updated based on the motion effect parameters corresponding to the first update sub-instruction.

[0238] In this embodiment, the electronic device can respond to the first update sub-instruction to update the display position of the display image of the first object in the target interface, display the change in the display position of the image, and achieve a dynamic display effect of the movement of the display image position, thereby avoiding the problem of the display image of the object in the target interface being displayed statically for a long time, thereby reducing the risk of screen burn-in caused by long-term continuous static display of the display screen of the electronic device.

[0239] In some embodiments, feasible ways to reduce the risk of screen burn-in of a display screen by updating the display position of an object in a target interface may include multiple ways.

[0240] In some embodiments, at least one object in the target interface includes a second object. The preset update instruction includes a second update sub-instruction, and the second update sub-instruction can also be used to instruct to periodically update the display position of the display image of the first object in the target interface. Among them, the motion effect parameter includes a second motion effect sub-parameter corresponding to the second update sub-instruction, and the second motion effect sub-parameter includes a second motion effect duration, a preset direction, and a preset distance corresponding to the second object.

[0241] The second object may include one or more objects in the target interface. The second object may be the same as or different from the first object. For example, when the target interface is a mountain clock display interface, the second object may be a digital time, cloud, mountain, background, or other object in the mountain clock display interface.

[0242] The motion effect parameters include a second motion effect sub-parameter corresponding to the second update sub-instruction. The second motion effect sub-parameter includes a second motion effect duration, a preset direction, and a preset distance corresponding to the second object.

[0243] Exemplarily, when the target interface is a mountain clock display interface, and the second object includes a mountain, the second animation sub-parameter may include a second animation duration 1 corresponding to the mountain, and a preset direction 1 and a preset distance 1 of the display image of the mountain. When the second object includes a mountain and a cloud, the second animation sub-parameter may include a second animation duration 1 corresponding to the mountain, a preset direction 1 and a preset distance 1 of the display image of the mountain, and a second animation duration 2 corresponding to the cloud, a preset direction 2 and a preset distance 2 of the display image of the cloud.

[0244] The second motion effect duration 1 and the second motion effect duration 2 may be the same or different. The preset direction 1 and the preset direction 2 may be the same or different. The preset distance 1 and the preset distance 2 may be the same or different.

[0245] When the second object includes multiple objects, the second animation durations of the multiple objects can be the same or different; the preset directions corresponding to the multiple objects can be the same or different; the preset distances corresponding to the multiple objects can be the same or different. By setting different animation parameters for multiple objects, customized dynamic display effects can be achieved for each object, making the dynamic display effects richer and more vivid.

[0246] In the above embodiment, S203, the electronic device responds to the preset update instruction, updates the target interface with the dynamic effect parameter, and adjusts at least one of the displayed image, display transparency, display position, and display size of at least one object in the target interface, including a situation provided by this embodiment:

[0247] In response to the second update sub-instruction, the electronic device moves the displayed image of the second object in the target interface by a preset distance along a preset direction within the second animation duration.

[0248] Exemplarily, when the target interface is a mountain clock display interface and the second object includes a cloud, the animation parameters corresponding to the second update sub-instruction may include the second animation duration, preset direction and preset distance of the display image of the cloud.

[0249] In some embodiments, the second update sub-instruction is a periodic update instruction. For example, the electronic device receives a second update sub-instruction every period duration 2, and the second animation duration is less than or equal to the period duration 2. For example, the period duration 2 of the second update sub-instruction is 1 minute (60s), the second animation duration is less than or equal to 60s, and the second animation duration can be 5s, 12s, 20s, 60 seconds, etc. The second animation duration is the duration for the electronic device to move the displayed image of the second object by a preset distance in a preset direction.

[0250] It can be understood that when the cycle length 2 is 60 seconds, the triggering frequency of the second update sub-instruction can be synchronized with the minute update frequency of the system time.

[0251] When the electronic device is placed horizontally, the preset direction may include any one of left, right, upward, and downward directions based on the display interface. Alternatively, in some embodiments, when the electronic device is placed horizontally, the geometric center of the displayed image of the second object is determined as the dot, and the radius passing through the dot and perpendicular to the ground is used as the reference line. The preset direction may also include a direction indicated by any angle formed with the reference line.

[0252] The preset distance may be a value greater than 0, for example, the preset distance may be 40f, 80f, 140f, 150f, where f is the number of pixels. Or, for example, the preset distance may be 1cm, 2cm, 2.5cm, etc. The preset distance is less than the horizontal length of the display page where the display interface is located. The horizontal length of the display page may be greater than or equal to the horizontal length of the display screen.

[0253] For example, reference Figure 6 (a) of FIG. 1 shows a schematic diagram of a mountain clock display interface. The second object may include a mountain. Figure 6 In (a), the electronic device displays a display image of a mountain at a corresponding default position.

[0254] The electronic device receives the second update sub-instruction, responds to the second update sub-instruction, and updates the target interface based on the animation parameters corresponding to the second update sub-instruction. Exemplarily, the animation parameters of the second update sub-instruction include the second animation duration of the mountain 1 (for example, 10s), the preset direction is rightward, and the preset distance is h1.

[0255] In response to the second update sub-instruction, the electronic device moves the displayed image of the mountain from the initial position to the right by h1 within 10 seconds. Figure 6 (b). Exemplarily, h1 may be 40f. The electronic device updates the target interface by moving the displayed image of the mountain along a preset direction and a preset distance.

[0256] In some embodiments, the second object may include multiple objects, such as reference Figure 6 (a), the second object includes a cloud and a mountain, and the electronic device displays the display image of the mountain and the display image of the cloud at the corresponding default positions. The animation parameters corresponding to the second update sub-instruction include the second animation duration 1 (for example, 10s) of the mountain, the preset direction is right, and the preset distance is h1; the second animation duration 2 (for example, 10s) of the cloud, the preset direction is right, and the preset distance is h2. Figure 6 (b).

[0257] Optionally, the second object may also include other objects of the mountain clock display interface, for example, the second object may also include a foreground mountain, then the animation parameters corresponding to the second update sub-instruction include the second animation duration 1 (for example, 10s) of the mountain, the preset direction is to the right, and the preset distance is h1; the second animation duration 2 (for example, 10s) of the cloud, the preset direction is to the right, and the preset distance is h2; the second animation duration 1 (for example, 10s) of the foreground mountain, the preset direction is to the right, and the preset distance is h3. Among them, h1 can be 40f, h2 can be 140f, h3 can be 150f, and so on.

[0258] When the second object includes multiple objects, the starting moment of the electronic device moving the display images of the multiple objects can be kept synchronized. For example, the electronic device responds to the second update sub-instruction and starts to synchronously move the display positions of the display image of the mountain and the display image of the cloud at the second moment. That is, the electronic device takes the second moment as the starting moment, and moves the display image of the mountain to the right by h1 within 10 seconds after the second moment. Exemplarily, h1 can be 40f. The electronic device can take the first moment as the starting moment, and also move the display image of the cloud to the right by h2 within 10 seconds after the first moment. Exemplarily, h2 can be 140f. The electronic device updates the target interface by moving the display image of the mountain and the display image of the cloud by a preset distance in a preset direction, respectively.

[0259] In some embodiments, the starting time of the electronic device moving the displayed images of multiple objects may also be asynchronous.

[0260] The electronic device may utilize a linear interpolator to move the displayed image of the second object along a preset direction at a uniform speed and for a preset distance.

[0261] In some embodiments, the second update sub-instruction is a periodic update instruction, which means that the electronic device receives a second update sub-instruction every other cycle. It can be understood that if the electronic device moves the displayed image of the second object by a preset distance along a preset direction based on the second update sub-instruction of the first cycle; when the electronic device receives the second update sub-instruction of the second cycle, it can move the second object by a preset distance in the opposite direction of the preset direction, so that the displayed image of the second object moves to the initial position. The second cycle is the next cycle adjacent to the first cycle.

[0262] Exemplarily, the display position of the display image of the second object in the target interface is the initial position (x3, y3), referring to Figure 6 (a).

[0263] When the first cycle arrives, the electronic device receives the first second update sub-instruction, and in response to the first second update sub-instruction, moves the displayed image of the second object by a preset distance along a preset direction within the second animation duration.

[0264] At this time, the display position of the display image of the second object in the target interface is updated to the target position (x4, y4). Figure 6 (b).

[0265] When the second cycle arrives, the electronic device receives a second second update sub-instruction, and in response to the second second update sub-instruction, moves the displayed image of the second object a preset distance in the opposite direction of the preset direction within the second animation duration.

[0266] At this time, the display position of the display image of the second object in the target interface is updated to the initial position (x3, y3). Figure 6 (a).

[0267] When the third cycle arrives, the electronic device receives the third second update sub-instruction, and in response to the third second update sub-instruction, moves the displayed image of the second object by a preset distance along a preset direction within the second animation duration.

[0268] At this time, the display position of the display image of the second object in the target interface is updated to the target position (x4, y4). Figure 6 (b).

[0269] In this way, the electronic device periodically updates the movement of the displayed image of the second object based on the second update sub-instruction.

[0270] In some embodiments, the second update sub-instruction may also be a non-periodic update instruction. That is, the second update sub-instruction is an update instruction triggered when certain conditions are met. For example, when the electronic device detects an operation to display the target interface, it generates a second update sub-instruction after a preset interval such as after the target interface is fully displayed; in response to the second update sub-instruction, the displayed image of the second object is moved. The preset interval may be 1200ms. That is, when the electronic device displays the target interface in response to the operation to display the target interface, after an interval of 1200ms, the displayed image of the second object is moved based on the motion effect parameters corresponding to the second update sub-instruction.

[0271] In this embodiment, the electronic device can respond to the second update sub-instruction and move the displayed image of the second object of the target interface by a preset distance in a preset direction. The displayed image moves the preset distance to achieve a dynamic display effect in which the displayed image continues to move for a period of time, thereby avoiding the problem of the displayed image of the object in the target interface being displayed statically for a long time, thereby reducing the risk of screen burn-in caused by long-term continuous static display of the display screen of the electronic device.

[0272] In some embodiments, the preset update instruction can be used to instruct to update the display size of the display image of the object in the target interface, and the electronic device can also reduce the risk of screen burn-in of the display screen by updating the display size of the display image of the object in the target interface.

[0273] In some embodiments, at least one object in the target interface includes a third object. The preset update instruction includes a third update sub-instruction, and the third update sub-instruction can be used to instruct to periodically update the display size of the display image of the third object in the target interface.

[0274] The third object may include one or more objects in the target interface. The third object may be the same as or different from the first object and the second object. For example, when the target interface is a mountain clock display interface, the third object may be objects such as digital time, clouds, mountains, and background in the mountain clock display interface.

[0275] The motion effect parameters include a third motion effect sub-parameter corresponding to the third update sub-instruction. The third motion effect sub-parameter includes a third motion effect duration, a first size, and a second size corresponding to the third object. The first size and the second size are different.

[0276] Exemplarily, the target interface is a mountain clock display interface, the third object includes a mountain, and the third animation sub-parameter may include a third animation duration 1 corresponding to the mountain, and a first size and a second size of the display image of the mountain. When the third object includes a mountain and a cloud, the third animation sub-parameter may include a third animation duration 1 corresponding to the mountain and a first size and a second size of the display image of the mountain, a third animation duration 2 corresponding to the cloud, and a first size and a second size of the display image of the cloud.

[0277] The first size of the displayed image of the cloud is different from the first size of the displayed image of the mountain; and the second size of the displayed image of the cloud is different from the second size of the displayed image of the mountain.

[0278] When the third object includes multiple objects, the duration of the third animation of the multiple objects can be the same or different; the first sizes of the multiple objects are different, and the second sizes of the multiple objects are different. By setting different animation parameters for multiple objects, customized dynamic display effects of each object can be achieved, making the dynamic display effects richer and more vivid.

[0279] In the above embodiment, S202, the electronic device displays a display image of at least one object on the target interface, including:

[0280] The electronic device displays a display image of the third object in a first size on the target interface.

[0281] The first size may be an initial size (default size) of the third object on the target interface. The initial size refers to an initial size configured when configuring the layout of the third object on the target interface.

[0282] Alternatively, the first size may also represent the current display size of the third object on the target interface when the electronic device receives a preset update instruction, that is, the size of the electronic device before receiving the preset update instruction to update the size of the display image of the object.

[0283] For example, Figure 7 (a) shows a first size schematic diagram of a digital time image when the target interface is a peak clock display interface and the first object is digital time.

[0284] In the above embodiment, S203, the electronic device responds to the preset update instruction, updates the target interface with the dynamic effect parameter, and adjusts at least one of the displayed image, display transparency, display position, and display size of at least one object in the target interface, including a situation provided by this embodiment:

[0285] In response to the third update sub-instruction, the electronic device adjusts the display image of the third object in the target interface from the first size to the second size within the third animation duration.

[0286] For example, when the target interface is a mountain clock display interface and the third object includes digital time, the animation parameters corresponding to the third update sub-instruction may include the third animation duration, the first size, and the second size of the digital time. Figure 7 The size of the digital time display image shown in (a) on the mountain clock display interface; the second size is the target size to which the electronic device wants to scale the cloud display image, refer to Figure 7 The third animation duration is the duration for the electronic device to scale the displayed image of the digital time from the first size to the second size.

[0287] It is understandable that the specific value of the third animation duration can be determined according to the scaling effect between the first size and the second size. In some embodiments, when the third update sub-instruction is a periodic update instruction, for example, the electronic device receives a third update sub-instruction every period duration 3, and the third animation duration is less than or equal to the period duration 3. For example, the period duration 3 of the third update sub-instruction is 1 minute (60s), the third animation duration is less than 60s, and the third animation duration can be 800ms, 1000ms, and so on.

[0288] The original size of the displayed image of the third object may be used as a reference, for example, the first size is 1 times the original size of the displayed image of the third object. The second size may be larger than the first size, for example, the second size may be 1.2 or 1.4 times the original size of the displayed image of the third object. Alternatively, the second size may be smaller than the first size, for example, the second size may be 0.8 or 0.6 times the original size of the displayed image of the third object.

[0289] It is understandable that when the cycle length 1 is 60 seconds, the triggering frequency of the third update sub-instruction can be synchronized with the minute update frequency of the system time.

[0290] Exemplarily, in response to the third update sub-instruction, the electronic device reduces the display image of the digital time from the first size (1 times) to the second size (0.8 times) within 800ms; or, in response to the third update sub-instruction, the electronic device enlarges the display image of the digital time from the first size (1 times) to the second size (1.2 times) within 800ms. The electronic device updates the target interface by adjusting the display size of the display image of the digital time.

[0291] In some embodiments, the third object may include multiple objects, for example, the third object includes digital time and a mountain. The animation parameters corresponding to the third update sub-instruction include the third animation duration 1 (800ms) corresponding to the digital time and the first size (1 times) and second size (1.2 times) of the display image of the digital time, the third animation duration 2 (1000ms) corresponding to the mountain, and the first size (1 times) and second size (1.2 times) of the display image of the mountain.

[0292] When the third object includes multiple objects, the starting moment of the electronic device performing size scaling of the display images of the multiple objects can be kept synchronized. For example, in response to the third update sub-instruction, the electronic device starts to synchronously scale the display sizes of the display image of digital time and the display image of the mountain at the third moment. That is, the electronic device takes the third moment as the starting moment, and within 800ms after the third moment, enlarges the display image of digital time from the first size (1 times) to the second size (1.2 times). The electronic device can take the third moment as the starting moment, and within 1000ms after the third moment, enlarge the display image of the mountain from the first size (1 times) to the second size (1.2 times).

[0293] In some embodiments, the display image of the second object is updated from the first size to the second size, which may include two situations. One of them is that the electronic device hides the display image of the second object of the first size and displays the display image of the second object of the second size, thereby achieving an instant update of the size of the display image of the second object. Another situation is that the electronic device, based on the size difference between the first size and the second size, enlarges the display image of the first size to the second size by uniformly stretching within the third animation duration.

[0294] In some embodiments, the start time of scaling the display images of multiple objects by the electronic device may not be synchronized.

[0295] The electronic device may utilize a scaling interpolator (LinearOutSlowInInterpolator) to scale the display image of the third object from the first size to the second size at a uniform speed.

[0296] In some embodiments, the third update sub-instruction is a periodic update instruction, which means that the electronic device receives a third update sub-instruction every other cycle. It can be understood that if the electronic device scales the display image of the third object from the first size to the second size based on the third update sub-instruction of the first cycle; when the electronic device receives the third update sub-instruction of the second cycle, the display image of the third object can be restored from the second size to the first size. The second cycle is the next cycle adjacent to the first cycle.

[0297] Exemplarily, the display size of the display image of the third object in the target interface is size 1 (1 times) (in this case, size 1 is the first size), referring to Figure 7 (a).

[0298] When the first cycle arrives, the electronic device receives the first third update sub-instruction, and in response to the first third update sub-instruction, reduces the display image of the third object from size 1 (1 times, the first size) to size 2 (0.8 times, the second size) within the third animation duration.

[0299] At this time, the display size of the display image of the third object in the target interface is size 2 (0.8 times), referring to Figure 7 (b) At this time, size 2 (0.8 times) is used as the first size again.

[0300] When the second cycle arrives, the electronic device receives the second third update sub-instruction, and in response to the second third update sub-instruction, within the third animation duration, the display image of the third object is enlarged from the current size 2 (0.8 times, the first size) to the size 1 (1 times, the second size), referring to Figure 7 (a).

[0301] At this time, the display size of the display image of the third object in the target interface is size 1 (1 times), refer to Figure 7 At this time, size 1 (1 times) is used as the first size again.

[0302] When the third cycle arrives, the electronic device receives the third third update sub-instruction, and in response to the third third update sub-instruction, within the third animation duration, reduces the display image of the third object from the current size (1 times, the first size) to the second size (0.8 times, the second size), referring to Figure 7 (b).

[0303] In this way, the electronic device periodically scales the display size of the display image of the third object based on the third update sub-instruction.

[0304] In some embodiments, the third update sub-instruction may also be a non-periodic update instruction. That is, the third update sub-instruction is an update instruction triggered when certain conditions are met. For example, when the electronic device detects an operation to display the target interface, if the display of the second interface is the first operation of the electronic device to display the target interface. The third update sub-instruction is received during the process of displaying the target interface; in response to the third update sub-instruction, the size of the display image of the third object is scaled. Alternatively, the third update sub-instruction may also be an update instruction triggered at a specified time. For example, the third update sub-instruction is generated when the system time is specified at 18:05, and the electronic device scales the size of the display image of the third object in response to the third update sub-instruction.

[0305] In some embodiments, if the update cycle of the first update sub-instruction (or the second update sub-instruction) is synchronized with the update cycle of the third update sub-instruction, the electronic device can simultaneously update the display position and the display size of the same object. Alternatively, the display position and the display size of the same object can be updated separately in a preset order.

[0306] In this embodiment, the electronic device can update the display size of the display image of the third object in the target interface in response to the third update sub-instruction, and the display size of the display image changes to achieve a dynamic display effect of the display image being larger or smaller, thereby avoiding the problem of the display image of the object in the target interface being displayed statically for a long time, thereby reducing the risk of screen burn-in caused by long-term continuous static display of the display screen of the electronic device.

[0307] In some embodiments, the preset update instruction can be used to instruct to update the display image of the object in the target interface, and the risk of screen burn-in of the display screen can be reduced by updating the display image of the object in the target interface.

[0308] In some embodiments, at least one object in the target interface includes a fourth object. The preset update instruction includes a fourth update sub-instruction, and the fourth update sub-instruction is used to instruct to replace and update the display image of the fourth object.

[0309] The fourth object may include one or more objects in the target interface. The fourth object may be the same as or different from the first object, the second object, and the third object. For example, when the target interface is a mountain clock display interface, the fourth object may be objects such as digital time, clouds, mountains, and background in the mountain clock display interface.

[0310] The motion effect parameter includes a fourth motion effect sub-parameter corresponding to the fourth update sub-instruction, and the fourth motion effect sub-parameter includes a fourth motion effect duration corresponding to the fourth object. The display image of the fourth object includes a first display image and a second display image, wherein the first display image is different from the second display image.

[0311] Exemplarily, the target interface is a mountain clock display interface, the fourth object includes mountain time, and the fourth animation sub-parameter may include the fourth animation duration 1 corresponding to the mountain, the first display image and the second display image of the mountain. When the fourth object includes mountain and cloud, the fourth animation sub-parameter may include the fourth animation duration 1 corresponding to the mountain and the first display image and the second display image of the mountain, the fourth animation duration 2 corresponding to the cloud, and the first display image and the second display image of the cloud.

[0312] Exemplarily, the first displayed image of the mountain may be an image of a golden mountain in the sun, and the second displayed image of the mountain may be an image of a snowy mountain without sunlight. The first displayed image of the cloud may be an image of a cloud without a rainbow, and the second displayed image of the cloud may be an image of a cloud with a rainbow.

[0313] When the fourth object includes multiple objects, the fourth motion effect durations of the multiple objects may be the same or different. By setting different motion effect parameters for multiple objects, customized dynamic display effects for each object can be achieved, making the dynamic display effects richer and more vivid.

[0314] In the above embodiment, S202, the electronic device displays a display image of at least one object on the target interface, including:

[0315] The electronic device displays the first display image of the fourth object on the target interface.

[0316] The first display image may be a default image of the fourth object on the target interface, wherein the default image refers to an image configured when configuring the layout of the fourth object on the target interface.

[0317] Alternatively, the first display image may also represent the display image of the fourth object on the target interface when the electronic device receives a preset update instruction, that is, the image before the electronic device receives the preset update instruction to replace the display image of the object.

[0318] For example, Figure 8 (a) shows a schematic diagram of a target interface being a mountain clock display interface, a fourth object being a mountain, and a first display image of the mountain.

[0319] In the above embodiment, S203, the electronic device responds to the preset update instruction, updates the target interface with the dynamic effect parameter, and adjusts at least one of the displayed image, display transparency, display position, and display size of at least one object in the target interface, including a situation provided by this embodiment:

[0320] In response to the fourth update sub-instruction, the electronic device updates the first display image of the fourth object displayed in the target interface to the second display image within the fourth animation effect duration.

[0321] Exemplarily, the target interface is a mountain clock display interface, the fourth object includes a mountain time, and the animation parameters corresponding to the fourth update sub-instruction may include a fourth animation duration corresponding to the mountain, a first display image of the mountain, and a second display image of the mountain.

[0322] In some embodiments, the fourth update sub-instruction is a periodic update instruction. For example, the electronic device receives a fourth update sub-instruction every period 4, and the fourth animation duration is less than or equal to the period duration 4. For example, the period duration 4 of the fourth update sub-instruction is 5 minutes, the fourth animation duration is less than or equal to 5 minutes, and the fourth animation duration can be 1s, 2s, 3s, etc. The fourth animation duration is the duration of the process in which the electronic device replaces the first display image of the mountain with the second display image of the mountain.

[0323] For example, reference Figure 8 (a) of FIG. 1 shows a schematic diagram of a mountain clock display interface. The fourth object may include a mountain. Figure 8 In (a), the first displayed image of the mountain is an image of the mountain without the sun.

[0324] The electronic device receives the fourth update sub-instruction, and in response to the fourth update sub-instruction, updates the target interface based on the motion effect parameters corresponding to the fourth update sub-instruction. Exemplarily, the motion effect parameters of the fourth update sub-instruction include the fourth motion effect duration 1 (e.g., 1s) of the mountain, the first display image of the mountain, and the second display image.

[0325] The electronic device responds to the fourth update sub-instruction and replaces the first display image of the mountain with the second display image of the mountain within 1 second. Figure 8 (b). Exemplarily, the process of replacing the first display image of the mountain with the second display image of the mountain may include that the electronic device hides the first display image of the mountain from the target interface and displays the second display image of the mountain in the target interface. Alternatively, the electronic device may update the transparency of the first display image of the mountain from 0 to 1, and update the transparency of the second display image of the mountain from 1 to 0. The value range of transparency is usually between 0 and 1, 0 means opaque, and 1 means completely transparent. The electronic device updates the target interface by updating the first display image of the mountain with the second display image of the mountain. The electronic device may use a transparency differentiator (cubic_bezier_interpolator_type_33_33.xml) to replace and update the first display image of the fourth object with the second display image.

[0326] In some embodiments, the fourth object may include multiple objects, for example, the fourth object includes mountain 1 and mountain 2, and the electronic device displays the display image 11 of mountain 1 and the display image 11 of mountain 2. The motion effect parameters corresponding to the fourth update sub-instruction include the fourth motion effect duration 1 (for example, 1s) of mountain 1, the display image 11 of mountain 1, and the display image 22; the fourth motion effect duration 2 (for example, 1s) of mountain 2, the display image 11 of mountain 2, and the display image 22.

[0327] When the second object includes multiple objects, the starting time of the electronic device replacing the display images of the multiple objects can be kept synchronized. For example, in response to the fourth update sub-instruction, the electronic device starts to synchronously replace the display image of mountain 1 and the display image of mountain 2 at the fourth moment. That is, the electronic device takes the fourth moment as the starting moment, and within 1 second after the fourth moment, updates the first display image of mountain 1 to the second display image of mountain 1. The electronic device can take the fourth moment as the starting moment, and also within 1 second after the fourth moment, update the first display image of mountain 2 to the second display image of mountain 2.

[0328] In some embodiments, the starting time when the electronic device replaces the displayed images of multiple objects may also be asynchronous.

[0329] In some embodiments, the fourth update sub-instruction may be a periodic update instruction. A periodic update instruction means that the electronic device receives a fourth update sub-instruction every other cycle. It can be understood that if the electronic device updates the first display image of the fourth object to the second display image based on the fourth update sub-instruction of the first cycle; when the electronic device receives the fourth update sub-instruction of the second cycle, the second display image of the fourth object may be updated to the first display image. The second cycle is the next cycle adjacent to the first cycle.

[0330] Exemplarily, the display image of the fourth object in the target interface is display image 11 (first display image), referring to Figure 8 (a).

[0331] When the first cycle arrives, the electronic device receives the first fourth update sub-instruction, and in response to the first fourth update sub-instruction, updates the display image 11 (first display image) of the fourth object to the display image 22 (second display image) within the fourth animation duration.

[0332] At this time, the display image of the fourth object in the target interface is display image 22, referring to Figure 8 At this time, the display image 22 is used as the first display image again.

[0333] When the second cycle arrives, the electronic device receives the second fourth update sub-instruction, and in response to the second fourth update sub-instruction, updates the display image 22 (first display image) of the fourth object to the display image 11 (second display image) within the fourth animation duration.

[0334] At this time, the display image of the fourth object in the target interface is display image 11. Figure 8 At this time, the display image 11 is again used as the first display image.

[0335] When the third cycle arrives, the electronic device receives the third fourth update sub-instruction, and in response to the third fourth update sub-instruction, updates the display image 11 (first display image) of the fourth object to the display image 22 (second display image) within the fourth animation duration.

[0336] At this time, the display image 22 of the fourth object in the target interface is the second display image. Figure 8 (b).

[0337] In this way, the electronic device periodically replaces and updates the display image of the fourth object based on the fourth update sub-instruction.

[0338] In some embodiments, the fourth update sub-instruction may also be a non-periodic update instruction. That is, the fourth update sub-instruction is an update instruction triggered when certain conditions are met. For example, when the electronic device detects a switching operation that generates a time period, the fourth update sub-instruction is generated, and the electronic device responds to the fourth update sub-instruction to replace the display image of the fourth object corresponding to different time periods. Alternatively, when the electronic device detects a change in ambient light, the fourth update sub-instruction is generated, and the electronic device responds to the fourth update sub-instruction to replace the display image of the fourth object corresponding to different ambient lights. Alternatively, when the electronic device detects a change in ambient temperature, the fourth update sub-instruction is generated, and the electronic device responds to the fourth update sub-instruction to replace the display image of the fourth object corresponding to different ambient temperatures.

[0339] In some embodiments, if the update cycle of the first update sub-instruction (or the second update sub-instruction) is synchronized with the update cycle of the fourth update sub-instruction, the electronic device can simultaneously update the display position and update the display image of the same object. Alternatively, according to a preset order, the display position and the display image are updated for the same object respectively. In some embodiments, if the update cycle of the third update sub-instruction is synchronized with the update cycle of the fourth update sub-instruction, the electronic device can simultaneously update the display size and update the display image of the same object. Alternatively, according to a preset order, the display size and the display image are updated for the same object respectively. In some embodiments, if the update cycle of the first update sub-instruction (or the second update sub-instruction), the update cycle of the third update sub-instruction and the update cycle of the fourth update sub-instruction are synchronized, the electronic device can simultaneously update the display position, update the display size and update the display image of the same object. Alternatively, according to a preset order, the display position, update the display size and update the display image are updated for the same object respectively.

[0340] In this embodiment, the electronic device can replace the first display image of the fourth object of the target interface with the second display image in response to the fourth update sub-instruction, so as to avoid the problem of the display image of the object in the target interface being displayed statically for a long time, thereby reducing the risk of screen burn-in caused by long-term continuous static display of the display screen of the electronic device.

[0341] A day is accompanied by different scenes such as sunrise, sunset, and starry sky. In some embodiments, the time periods corresponding to different scenes can be combined to configure the display images of each object in the target interface corresponding to the same time period. Exemplarily, 24 hours a day can be divided into at least two time periods. For example, time period 1 includes 6 o'clock to 20 o'clock, and time period 1 corresponds to the display image 1 of each object in the target interface; time period 2 includes 20 o'clock to 6 o'clock, and time period 2 corresponds to the display image 2 of each object in the target interface. When time period 1 is the first time period, the display image 1 of each object is the third display image; when time period 2 is the second time period, the display image 2 of each object is the fourth display image.

[0342] For example, Fig. 9 A schematic diagram of a target interface with two time periods is given. The target interface is the mountain clock display interface. Time period 1 is from 6:00 to 18:00, and time period 2 is from 18:00 to 6:00. Fig. 9 In (a), the system time of the electronic device is 9:01, which belongs to time period 1. The mountain clock display interface displays a display image 1 of a mountain and a display image 1 of a background. The display image 1 of the mountain is an image containing a mountain and the sun; the display image 1 of the background is an image of a cloudless sky. Fig. 9 In (b), the system time of the electronic device is 23:38, which belongs to time period 2. The mountain clock display interface displays a display image 2 of the mountain and a display image 2 of the background. The display image 2 of the mountain is an image of the mountain without the sun; the display image 2 of the background is an image of the sky including stars and the moon.

[0343] In some embodiments, illustratively, a day can be further divided into four time periods. For example, time period 1 includes 6 o'clock to 8 o'clock, and time period 1 corresponds to display image 1 of each object in the target interface; time period 2 includes 8 o'clock to 18 o'clock, and time period 2 corresponds to display image 2 of each object in the target interface; time period 3 includes 18 o'clock to 20 o'clock, and time period 3 corresponds to display image 3 of each object in the target interface; time period 4 includes 20 o'clock to 6 o'clock, and time period 4 corresponds to display image 4 of each object in the target interface.

[0344] For example, Fig.10 A schematic diagram of a target interface with four time periods is given. The target interface is a mountain clock display interface. Time period 1 is from 6:00 to 18:00, time period 2 is from 6:00 to 18:00, time period 3 is from 18:00 to 20:00, and time period 4 is from 20:00 to 6:00.

[0345] refer to Fig.10In (a), the system time of the electronic device is 7:17, which belongs to time period 1. The mountain clock display interface displays a display image 1 of a mountain and a display image 1 of a background. The display image 1 of the mountain is an image containing a mountain; and the display image 1 of the background is an image of a cloudless sky.

[0346] refer to Fig.10 In (b), the system time of the electronic device is 12:30, which belongs to time period 2. The mountain clock display interface displays a display image 2 of the mountain and a display image 2 of the background. The display image 2 of the mountain is an image of the mountain including the sun and clouds; the display image 2 of the background is an image of a cloudless sky.

[0347] refer to Fig.10 In (c), the system time of the electronic device is 19:25, which belongs to time period 3. The mountain clock display interface displays a display image 3 of the mountain and a display image 3 of the background. The display image 3 of the mountain is an image of the mountain including the sun; and the display image 3 of the background is an image of a cloudless sky.

[0348] refer to Fig.10 (d), the system time of the electronic device is 23:38, which belongs to time period 4. The mountain clock display interface displays a display image 4 of the mountain and a display image 4 of the background. The display image 4 of the mountain is an image containing the mountain; the display image 4 of the background is an image of the sky containing stars and the moon. It should be noted that this embodiment is only an example, and does not limit the division of specific time periods and the display images of different objects corresponding to each time period.

[0349] In some embodiments, the step 201 of acquiring a display image of at least one object in the target interface corresponding to the system time includes:

[0350] The electronic device determines a target time period to which the system time belongs, and obtains a display image of at least one object of a target interface corresponding to the target time period.

[0351] In this embodiment, the electronic device determines the target time period to which the system time belongs based on the pre-divided time periods. Fig.10 For example, if the system time is 7 o'clock, it is determined that the system time belongs to time period 1, and the display image 1 of the target interface corresponding to time period 1 is obtained. If the system time is 22:12, it is determined that the system time belongs to time period 4, and the display image 4 of the target interface corresponding to time period 4 is obtained.

[0352] The display images of each object corresponding to different time periods can be pre-stored in a storage space specified by the electronic device, for example, in a register specified by the electronic device, in a memory, or in a data packet (file) corresponding to the target interface.

[0353] In this embodiment, the electronic device can display images of various objects in the target interface corresponding to different pre-configured time periods. For example, different images of a mountain in different time periods, for example, in the morning, the displayed image of the mountain can be an image covered by the glimmer of sunrise; in the afternoon, the displayed image of the mountain can be an image covered by the halo of sunset; in the evening, the displayed image of the mountain can be an image illuminated by starlight. The displayed images of objects in different time periods make the display effect of the target interface richer, and can bring users a more immersive experience of viewing the clock interface.

[0354] In the case where different time periods are preset to correspond to display images of various objects in the target interface, the preset update instruction may be an instruction for instructing time period switching.

[0355] In some embodiments, at least one object in the target interface includes a fifth object. The preset update instruction includes a fifth update sub-instruction, and the fifth update sub-instruction can be used to instruct a switching operation of displaying images corresponding to a time period.

[0356] If the electronic device is in the screen-off display mode all day long, the display images corresponding to different time periods can be switched based on the fifth update sub-instruction. Alternatively, when the electronic device is in the screen-off display mode, a time period switch occurs, and the fifth update sub-instruction can be generated to switch the display images corresponding to different time periods.

[0357] The fifth object may include one or more objects in the target interface. The fifth object may be the same as or different from the first object, the second object, the third object, and the fourth object. For example, when the target interface is a mountain clock display interface, the fifth object may be objects such as digital time, clouds, mountains, and background in the mountain clock display interface.

[0358] The motion effect parameters include a fifth motion effect sub-parameter corresponding to the fifth update sub-instruction. The fifth motion effect sub-parameter includes a fifth motion effect duration, a first transparency, and a second transparency corresponding to the fifth object. The second transparency is less than the first transparency.

[0359] Exemplarily, when the target interface is a mountain clock display interface, the fifth object includes a mountain, and the fifth animation sub-parameter may include the fifth animation duration 1, the first transparency, and the second transparency corresponding to the mountain. When the fifth object includes a mountain and a background, the fifth animation sub-parameter may include the fifth animation duration 1 corresponding to the mountain and the first transparency and the second transparency of the display image of the mountain, the fifth animation duration 2 corresponding to the background, and the first transparency and the second transparency of the display image of the background.

[0360] The value range of transparency is usually between 0 and 1, where 0 means opaque and 1 means completely transparent. The first transparency can be any value between 0.5 and 1, and is usually 1; the second transparency can be any value between 0 and 0.5, and is usually 0.

[0361] When the fifth object includes multiple objects, the fifth motion effect durations of the multiple objects can be the same or different. By setting different motion effect parameters for the multiple objects, customized dynamic display effects for each object can be achieved, making the dynamic display effects richer and more vivid.

[0362] In the above embodiment, S202, the electronic device displays a display image of at least one object on the target interface, including:

[0363] The electronic device displays, on the target interface, a display image of the fifth object in the target interface corresponding to the first time period.

[0364] Among them, the display image of the fifth object corresponding to the first time period can be the display image of the fifth object on the target interface before the electronic device receives the preset update instruction, that is, the image before the electronic device receives the preset update instruction to replace the display image of the object.

[0365] For example, Fig.11 (a) shows a schematic diagram of a mountain clock display interface in a first time period, wherein the first time period is from 18:00 to 20:00.

[0366] In the above embodiment, S203, the electronic device responds to the preset update instruction, updates the target interface with the dynamic effect parameter, and adjusts at least one of the displayed image, display transparency, display position, and display size of at least one object in the target interface, including a situation provided by this embodiment:

[0367] In response to the fifth update sub-instruction, the electronic device updates the display transparency of the display image of the fifth object in the target interface corresponding to the first time period from the second transparency to the first transparency within the fifth animation duration; and updates the display transparency of the display image of the fifth object in the target interface corresponding to the second time period from the first transparency to the second transparency within the fifth animation duration.

[0368] The first time period is a preceding time period adjacent to the second time period. In some embodiments, the first time period and the second time period may be two adjacent time periods among a plurality of time periods.

[0369] Exemplarily, the target interface is a mountain clock display interface, the fifth object includes a mountain, and the animation parameters corresponding to the fifth update sub-instruction may include the fifth animation duration, the first transparency, and the second transparency of the background.

[0370] For example, reference Fig.11 , the first time period is Fig.10 The time period 3 shown is (18:00 to 20:00). The second time period is Fig.10 The time period 4 shown (20:00 to 6:00) is a subsequent time period adjacent to the first time period. The fifth animation duration may be 1000ms. The value of the fifth animation duration may be determined according to the transparency change effect of the displayed image.

[0371] refer to Fig.11 In (a), when the system time is 19:59, the electronic device displays background display image 3 (third display image corresponding to the first time period) corresponding to time period 3 (18:00 to 20:00). The background display image 3 is an image of a cloudless sky.

[0372] When the electronic device detects that the system time moves from 19:59 to 20:00, a switch between time period 3 (18:00 to 20:00, the first time period) and time period 4 (20:00 to 6:00, the second time period) is generated, triggering the fifth update sub-instruction. In response to the fifth update sub-instruction, the electronic device switches the display image of the background corresponding to the first time period and the second time period, referring to Fig.11 (b).

[0373] The electronic device obtains a background display image 4 (a fourth display image corresponding to the second time period) in the mountain clock display interface in time period 4 (from 20:00 to 6:00), wherein the background display image 4 is a sky image including stars and the moon.

[0374] In response to the fifth update sub-instruction, the electronic device updates the transparency of the background display image 3 from the second transparency (0) to the first transparency (1) within 200ms, and updates the transparency of the background display image 4 from the first transparency (1) to the second transparency (0). The mountain clock display interface hides the background display image 3 and displays the background display image 4. Fig.11 (c).

[0375] Among them, the electronic device can use the transparency interpolator (cubic_bezier_interpolator_type_33_33.xml) to update the transparency of the background display image 3 from the second transparency (0) to the first transparency (1), and update the transparency of the background display image 4 from the first transparency (1) to the second transparency (0).

[0376] In some embodiments, each object may include different display images corresponding to different time periods; some objects in the target interface may also display the same display image in different time periods. The fifth animation duration of each object may be the same or different.

[0377] In some embodiments, the target interface is a mountain clock display interface, the fifth object may include background, cloud, mountain 1 and mountain 2, and the animation parameters corresponding to the fifth update sub-instruction may include the fifth animation duration, first transparency and second transparency corresponding to each object. Exemplarily, the fifth animation duration of the fifth object may be the same, for example, the fifth animation duration is 1000ms. The first transparency may be 1, and the second transparency may be 0.

[0378] When the electronic device detects that the system time moves from 19:59 to 20:00, a switch between the first time period (18:00 to 20:00) and the second time period (20:00 to 6:00) is generated, triggering the fifth update sub-instruction. In response to the fifth update sub-instruction, the electronic device switches the display image of the background corresponding to the first time period and the second time period.

[0379] The first time period includes the third display image of the background, the third display image of the clouds, the third display image of mountain 1, and the third display image of mountain 2. The second time period includes the fourth display image of the background, the fourth display image of the clouds, the fourth display image of mountain 1, and the fourth display image of mountain 2.

[0380] Exemplarily, in response to the fifth update sub-instruction, the electronic device updates the transparency of the third display image of the background from the second transparency (0) to the first transparency (1) within 1000ms, hiding the third display image of the background; updates the transparency of the fourth display image of the background from the first transparency (1) to the second transparency (0), and displays the fourth display image of the background. The transparency of the third display image of the clouds is updated from the second transparency (0) to the first transparency (1), hiding the third display image of the clouds; the transparency of the fourth display image of the clouds is updated from the first transparency (1) to the second transparency (0), and the fourth display image of the clouds is displayed. The transparency of the third display image of the mountain 1 is updated from the second transparency (0) to the first transparency (1), hiding the third display image of the mountain 1; the transparency of the fourth display image of the mountain 1 is updated from the first transparency (1) to the second transparency (0), and the fourth display image of the mountain 1 is displayed. The transparency of the third display image of mountain 2 is updated from the second transparency (0) to the first transparency (1), and the third display image of mountain 2 is hidden; the transparency of the fourth display image of mountain 2 is updated from the first transparency (1) to the second transparency (0), and the fourth display image of mountain 2 is displayed.

[0381] Alternatively, in some embodiments, the electronic device may directly hide the third display image of the background after 1000ms, update the transparency of the fourth display image of the background from the first transparency (1) to the second transparency (0), and display the fourth display image of the background. After 1000ms, the electronic device may directly hide the third display image of mountain 1, update the transparency of the fourth display image of mountain 1 from the first transparency (1) to the second transparency (0), and display the fourth display image of mountain 1. After 1000ms, the electronic device may directly hide the third display image of mountain 2, update the transparency of the fourth display image of mountain 2 from the first transparency (1) to the second transparency (0), and display the fourth display image of mountain 2.

[0382] In this embodiment, the electronic device pre-configures the display images of various objects in the target interface corresponding to different time periods, and generates a fifth update sub-instruction for switching the time period when switching the time period. The electronic device can respond to the fifth update sub-instruction to obtain the display image of the fifth object in the target time period to which the system time belongs, and implement the replacement and update of the display image of the fifth object in the target interface, thereby avoiding the problem of the display image of the object in the target interface being continuously statically displayed for a long time, thereby reducing the risk of screen burn-in caused by the long-term continuous static display of the display screen of the electronic device.

[0383] Furthermore, the ambient light of the electronic device may change in the same time period or in different time periods. Configuring the display images of each object in the target interface corresponding to different modes based on the change of ambient light can make the display effect of the target interface more interesting.

[0384] Exemplarily, in some embodiments, each time period includes a fifth display image of at least one object of the target interface corresponding to the first mode and a sixth display image of at least one object of the target interface corresponding to the second mode.

[0385] Exemplarily, the first mode may be a bright mode, which is used to represent the mode of the electronic device in a brighter environment; the second mode may be a dark mode, which is used to represent the mode of the electronic device in a darker environment. Of course, the first mode may also be a dark mode, and the second mode may also be a bright mode.

[0386] When the electronic device is in a bright environment, the electronic device displays the fifth display image of each object of the target interface corresponding to the bright mode; the display images of each object in the fifth display image mostly use light-colored elements, and the brightness of the fifth display image is higher, which is more suitable for the brightness of the bright environment.

[0387] When the electronic device is in a dark environment, the electronic device displays the sixth display image of each object of the target interface corresponding to the dark mode; the display images of each object in the sixth display image mostly use dark color elements, and the brightness of the sixth display image is lower, which is more suitable for the brightness of the dark environment.

[0388] For example, a day is divided into four time periods (based on Fig.10 The target interface is a mountain clock display interface, the first mode can be a bright mode, and the second mode can be a dark mode. Fig.12 A schematic diagram of the target interface of the first mode and the second mode corresponding to different time periods is given.

[0389] Time period 1 is from 6:00 to 8:00. Time period 1 corresponds to the fifth display image of each object in the first mode of the mountain clock display interface. It includes the fifth display image of digital time, the fifth display image of the mountain, and the fifth display image of the background. The digital color of the fifth display image of digital time is black, and the display position is centered at the top of the display screen; the fifth display image of the mountain is an image containing the mountain; the fifth display image of the background is an image of a cloudless sky, refer to Fig.12(a1). The mountain clock display interface of the second mode corresponding to time period 1 includes the sixth display image of digital time and the sixth display image of the background. Among them, the digital color of the sixth display image of digital time is white, and the display position is in the center of the entire screen of the display screen; the sixth display image of the background is a monochrome image with lower brightness, for example, it can be a dark gray or black monochrome image. The mountain clock display interface of the second mode corresponding to time period 1 does not include the display image of the mountain, or it can also be understood that the sixth display image of the mountain is also a dark monochrome image, for example, it can be the same dark gray or black monochrome image as the sixth display image of the background, refer to Fig.12 (a2).

[0390] Time period 2 is from 8:00 to 18:00. Time period 2 corresponds to the fifth display image of each object in the mountain clock display interface of the first mode. It includes the fifth display image of digital time, the fifth display image of mountain, and the fifth display image of background. The digital color of the fifth display image of digital time is black; the fifth display image of mountain is an image containing mountain and sun; the fifth display image of background is an image of cloudless sky, refer to Fig.12 (b1). The mountain clock display interface corresponding to the second mode of time period 2 includes the sixth display image of digital time, the sixth display image of the background, and the sixth display image of the mountain. Among them, the digital color of the sixth display image of digital time is white; the sixth display image of the background is a monochrome image with low brightness, such as dark gray or black monochrome image; the sixth display image of the mountain is an image including the mountain but not the sun, refer to Fig.12 (b2).

[0391] Time period 3 is from 18:00 to 20:00. Time period 3 corresponds to the fifth display image of each object in the mountain clock display interface of the first mode. It includes the fifth display image of digital time, the fifth display image of mountain, and the fifth display image of background. The digital color of the fifth display image of digital time is black; the fifth display image of mountain is an image containing mountain and cloud; the fifth display image of background is an image of cloudless sky, refer to Fig.12 (c1). The mountain clock display interface corresponding to the second mode of time period 3 includes the sixth display image of digital time, the sixth display image of background, and the sixth display image of mountain. Among them, the digital color of the sixth display image of digital time is white; the sixth display image of background is a monochrome image with low brightness, such as dark gray or black monochrome image; the sixth display image of mountain is an image including mountain but not including cloud, refer to Fig.12 of (c2).

[0392] Time period 4 is from 20:00 to 6:00. Time period 4 corresponds to the fifth display image of each object in the mountain clock display interface of the first mode. It includes the fifth display image of digital time, the fifth display image of the mountain, and the fifth display image of the background. The digital color of the fifth display image of digital time is black; the fifth display image of the mountain is a mountain image illuminated by starlight; the fifth display image of the background is a sky image including stars and the moon. Fig.12 (d1). The mountain clock display interface corresponding to the second mode of time period 4 includes the sixth display image of digital time, the sixth display image of the background, and the sixth display image of the mountain. Among them, the digital color of the sixth display image of digital time is white; the sixth display image of the background is a sky image with low brightness including stars but not including the moon; the sixth display image of the mountain is an image including the mountain, refer to Fig.12 of (d2).

[0393] It should be noted that this embodiment is only an example, and the specific differences between the fifth display image and the sixth display image of each object in the target interface corresponding to different time periods in the first mode and the second mode are not limited.

[0394] The step 201 of obtaining a display image of at least one object in the target interface corresponding to the system time includes:

[0395] The electronic device detects the ambient light intensity and obtains ambient light data.

[0396] In this embodiment, the electronic device can detect the ambient light intensity in real time and obtain ambient light data. Based on the ambient light data, the display image of each object in the target interface in the first mode or the second mode corresponding to the time period to which the system time belongs is determined.

[0397] Among them, there are two situations:

[0398] If the ambient light data of the electronic device is greater than or equal to a preset first ambient light threshold, the electronic device obtains a fifth display image of at least one object of the target interface in the first mode corresponding to the time period to which the system time belongs.

[0399] In this embodiment, the first ambient light threshold may be a light intensity value greater than 0, such as 10lex, 15lex, or 20lex. If the ambient light data is greater than or equal to the first ambient light threshold, it means that the environment in which the electronic device is located is relatively bright, and the electronic device may be in a room with lights on or in an environment with daylight during the day. In a relatively bright environment, the electronic device obtains the fifth display image of at least one object of the target interface in the first mode corresponding to the time period to which the system time belongs, and displays it.

[0400] Exemplarily, the time period to which the system time belongs is from 6 o'clock to 8 o'clock, and the electronic device acquires and displays the fifth display image of at least one object of the target interface, referring to Fig.12 (a1); the system time belongs to a time period of 8:00 to 18:00, the electronic device acquires and displays a fifth display image of at least one object of the target interface, reference Fig.12 (b1); the system time belongs to a time period of 18:00 to 20:00, the electronic device acquires and displays a fifth display image of at least one object of the target interface, reference Fig.12 (c1); the system time belongs to a time period of 20:00 to 6:00, the electronic device acquires and displays a fifth display image of at least one object of the target interface, reference Fig.12 (d1) in.

[0401] If the ambient light data of the electronic device is less than or equal to a preset second ambient light threshold, the electronic device obtains a sixth display image of at least one object of the target interface in the second mode corresponding to the time period to which the system time belongs.

[0402] The first ambient light threshold is greater than the second ambient light threshold.

[0403] In this embodiment, the second ambient light threshold may be a light intensity value such as 3lex, 4lex, or 5lex, which is greater than 0 and less than the first ambient light threshold.

[0404] If the ambient light data is less than or equal to the second ambient light threshold, it means that the environment in which the electronic device is located is relatively dark, and the electronic device may be in a room with the lights turned off, or in an environment in which the outdoor lighting is relatively dim at night, etc. In a relatively dark environment, the electronic device obtains the sixth display image of at least one object of the target interface in the second mode corresponding to the time period to which the system time belongs, and displays it.

[0405] Exemplarily, the time period to which the system time belongs is from 6 o'clock to 8 o'clock, and the electronic device acquires and displays the sixth display image of at least one object of the target interface, referring to Fig.12 (a2); the system time belongs to a time period of 8:00 to 18:00, the electronic device acquires and displays a sixth display image of at least one object of the target interface, reference Fig.12 (b2); the system time belongs to a time period of 18:00 to 20:00, the electronic device acquires and displays a sixth display image of at least one object of the target interface, reference Fig.12 (c2); the system time belongs to a time period of 20:00 to 6:00, the electronic device acquires and displays a sixth display image of at least one object of the target interface, reference Fig.12 (d2) in.

[0406] In some embodiments, for example, if the ambient light data is greater than the second ambient light threshold and less than the first ambient light threshold, a fifth display image of each object in the bright environment corresponding mode is displayed on the target interface.

[0407] Alternatively, in some embodiments, for example, if the ambient light data is greater than the second ambient light threshold and less than the first ambient light threshold, a sixth display image of each object in the dark environment corresponding mode may be displayed on the target interface.

[0408] Alternatively, in some embodiments, a seventh display image of each object corresponding to the third mode is set. If the ambient light data is greater than the second ambient light threshold and less than the first ambient light threshold, the seventh display image of each object in the third mode can be displayed on the target interface. The seventh display image is different from the fifth display image and the sixth display image. The third mode can be represented as a mode corresponding to daily ambient light.

[0409] In this embodiment, the electronic device can display images of each object in the target interface in the first mode or the second mode corresponding to different pre-configured ambient lights. For example, in a bright environment, a fifth display image with a higher brightness of each object in the target interface is displayed; in a dark environment, a sixth display image with a lower brightness of each object in the target interface is displayed. The display of different display images adapted to the ambient light data of the electronic device can provide users with a more comfortable eye experience that is more adapted to the ambient light, and enriches the display effect of the target interface.

[0410] When the electronic device switches between the first mode and the second mode, some preset motion effect parameters can be used to achieve smoother switching display of the target interface.

[0411] In some embodiments, at least one object in the target interface includes a sixth object. The preset update instruction includes a sixth update sub-instruction, and the sixth update sub-instruction is used to represent a switching instruction between the first mode and the second mode.

[0412] That is, when the electronic device detects that the ambient light data changes from greater than the first ambient light threshold to less than the second ambient light threshold, the electronic device changes between a bright environment and a dark environment. At this time, the sixth update sub-instruction is generated to switch the display of the target interface between the first mode and the second mode in the time period to which the system time belongs.

[0413] The sixth object may include one or more objects in the target interface. The sixth object may be the same as or different from the first object, the second object, the third object, the fourth object, and the fifth object. For example, when the target interface is a mountain clock display interface, the sixth object may be objects such as digital time, clouds, mountains, and background in the mountain clock display interface.

[0414] The motion effect parameters include the sixth motion effect sub-parameter corresponding to the sixth update sub-instruction, and the sixth motion effect sub-parameter includes the sixth motion effect duration, the third transparency, the fourth transparency, the third size and the fourth size corresponding to the sixth object. Among them, the fourth transparency is less than the third transparency; the third size is different from the fourth size. Among them, the fourth transparency can be any value between 0-0.5, usually the fourth transparency is 0; the third transparency can be any value between 0.5-1, usually the third transparency is 1. The value range of transparency is usually between 0 and 1, 0 means opaque, and 1 means completely transparent.

[0415] Exemplarily, when the target interface is a mountain clock display interface, the sixth object includes a mountain, and the sixth motion sub-parameter may include the sixth motion duration 1 corresponding to the mountain, the third transparency, fourth transparency, third size, and fourth size of the display image of the mountain. When the sixth object includes a mountain and a cloud, the sixth motion sub-parameter may include the sixth motion duration 1 corresponding to the mountain, and the third transparency, fourth transparency, third size, and fourth size of the display image of the mountain; the sixth motion duration 2 corresponding to the cloud, and the third transparency, fourth transparency, third size, and fourth size of the display image of the cloud.

[0416] Among them, the third transparency of the displayed image of the clouds may be the same as the third transparency of the displayed image of the mountains, the fourth transparency of the displayed image of the clouds may be the same as the fourth transparency of the displayed image of the mountains; the third size of the displayed image of the clouds may be different from the third size of the displayed image of the mountains; the fourth size of the displayed image of the clouds may be different from the fourth size of the displayed image of the mountains.

[0417] When the sixth object includes multiple objects, the sixth animation durations of the multiple objects may be the same or different. By setting different animation parameters for multiple objects, customized dynamic display effects for each object can be achieved, making the dynamic display effects richer and more vivid.

[0418] In the above embodiment S202, the electronic device displays the display image of the at least one object on the target interface, including:

[0419] The electronic device displays a display image of a sixth object corresponding to the first mode on the target interface.

[0420] In the above embodiment S203, the electronic device responds to the preset update instruction, updates the target interface with the dynamic effect parameter, and adjusts at least one of the displayed image, display transparency, display position, and display size of at least one object in the target interface, including the following situation provided in this embodiment:

[0421] In response to the sixth update sub-instruction, the electronic device updates the display transparency of the display image of the sixth object corresponding to the first mode from the fourth transparency to the third transparency, and updates the display transparency of the display image of the sixth object corresponding to the second mode from the third transparency to the fourth transparency; the electronic device updates the display size of the display image of the sixth object in the target interface from the third size to the fourth size.

[0422] Among them, if the electronic device displays the display image of the sixth object corresponding to the first mode on the target interface, the sixth update sub-instruction is used to indicate the instruction for switching from the first mode to the second mode; if the electronic device displays the display image of the sixth object corresponding to the second mode on the target interface, the sixth update sub-instruction is used to indicate the instruction for switching from the second mode to the first mode.

[0423] Exemplarily, the first mode is a mode corresponding to a bright environment, and the second mode is a mode corresponding to a dark environment.

[0424] When the sixth update sub-instruction is an instruction to instruct the first mode to switch to the second mode, the third transparency may be 1 and the fourth transparency may be 0. The third size may be 1 times the size and the fourth size may be smaller than the third size, for example, the fourth size may be 0.82 times the size.

[0425] Exemplarily, the target interface is a mountain clock display interface, the sixth object includes digital time, mountain and background, and the dynamic effect parameters corresponding to the sixth update sub-instruction may include the sixth dynamic effect duration of digital time; the sixth dynamic effect duration of the mountain, the third transparency and fourth transparency of the display image of the mountain, and the third size and fourth size of the display image of the mountain; the sixth dynamic effect duration of the background, and the third transparency and fourth transparency of the display image of the background. In some embodiments, the dynamic effect parameters corresponding to the sixth update sub-instruction may also include parameters such as a black digital image of digital time and a display position of digital time.

[0426] For example, reference Fig.13 , Fig.13 A schematic diagram of switching from a target interface of a first mode to a target interface of a second mode is provided.

[0427] refer to Fig.13 (a), the electronic device displays a mountain clock display interface in a first mode, wherein the first mode includes a black digital image of digital time, a display image of mountain 1 of a third size, and a display image of the background of the target interface is a cloudless image with higher brightness.

[0428] In some embodiments, the second mode includes a white digital image of the digital time and a displayed image with a dark background.

[0429] When the electronic device detects a change in ambient light, it generates a sixth update sub-instruction. In response to the sixth update sub-instruction, the electronic device updates the third size (1 times) of the displayed image of the mountain in the first mode to the fourth size (0.82 times) within the sixth animation duration. Within the sixth animation duration, the transparency of the displayed image of the mountain in the first mode is changed from the fourth transparency of 0 to the third transparency of 1, and the displayed image of the mountain in the first mode is hidden; within the sixth animation duration, the transparency of the black digital image of the digital time in the first mode is changed from the fourth transparency of 0 to the third transparency of 1, and the black digital image of the digital time is hidden; within the sixth animation duration, the transparency of the displayed image of the background in the first mode is changed from the fourth transparency of 0 to the third transparency of 1, and the displayed image of the background in the first mode is hidden. Reference Fig.13 (b).

[0430] At the same time, the electronic device changes the transparency of the white digital image of the digital time in the second mode from the third transparency 1 to the fourth transparency 0, and displays the white digital image of the digital time. The switching from the first mode to the second mode is realized. Fig.13 (c).

[0431] The electronic device may use a transparency interpolator (cubic_bezier_interpolator_type_33_33.xml) to achieve a uniform change in the transparency of each sixth object in the first mode. Exemplarily, the transparency elasticity curve change parameters of the transparency interpolator may include rigidity and damping. Exemplarily, the rigidity may be 400 and the damping may be 67. The specific values ​​of this embodiment are not limited and may be determined according to the actual transparency change.

[0432] In some embodiments, the target interface is a mountain clock display interface, and the sixth object may include digital time, mountain 1, and mountain 2. Exemplarily, the sixth animation duration is 1000ms. The third transparency may be 1, and the fourth transparency may be 0.

[0433] When the electronic device detects that the ambient light data is less than or equal to the second ambient light threshold, it enters a dark environment. If the current mode is a mode corresponding to a bright environment (first mode), a sixth update sub-instruction is generated to switch from the first mode to the second mode.

[0434] The first mode includes a black digital image of the digital time, and the first mode includes a display image of Mountain 1 and a display image of Mountain 2. The second mode includes a white digital image of the digital time.

[0435] Exemplarily, in response to the sixth update sub-instruction, the electronic device changes the transparency of the black digital image of the digital time in the first mode from the fourth transparency 0 to the third transparency 1 within 1000ms, hiding the black digital image of the digital time; and at the same time changes the transparency of the white digital image of the digital time in the second mode from the third transparency 1 to the fourth transparency 0, displaying the white digital image of the digital time.

[0436] Within 1000ms, the size of the displayed image of mountain 1 is updated from the third size (1 times) to the fourth size (0.82 times), and the transparency of the displayed image of mountain 1 is changed from the fourth transparency 0 to the third transparency 1, and the displayed image of mountain 1 is hidden.

[0437] Within 1000 ms, the transparency of the displayed image of the mountain 2 is changed from the fourth transparency 0 to the third transparency 1, and the displayed image of the mountain 2 is hidden.

[0438] Within 1000 ms, the transparency of the display image with the dark background is changed from the third transparency 1 to the fourth transparency 0, and the display image with the dark background is displayed, wherein the display image with the dark background may be a mask.

[0439] In some embodiments, the electronic device adjusts the transparency or size of the displayed image for different sixth objects, and the start time of the adjustment operation can be kept synchronized. That is, in response to the sixth update sub-instruction, the above transparency or size adjustment operation is performed within 1000ms. Alternatively, the electronic device adjusts the transparency or size of the displayed image for different sixth objects, and the start time of the adjustment operation can also be asynchronous.

[0440] For example, reference Fig.14 , Fig.14 A schematic diagram of switching from a target interface of a second mode to a target interface of a first mode is provided.

[0441] refer to Fig.14 (a), the electronic device displays a peak clock display interface in a second mode, wherein the second mode includes a white digital image of digital time and a display image with a dark background.

[0442] In some embodiments, the first mode includes a black digital image of digital time, a display image of mountain 1 of a third size, and a display image of the background of the target interface is a cloudless image with high brightness.

[0443] When the electronic device detects a change in ambient light, a sixth update sub-instruction is generated. In response to the sixth update sub-instruction, the electronic device updates the third size (1 times) of the displayed image in the second mode to the fourth size (0.82 times) within the sixth animation duration, and changes the transparency of the white digital image in the digital time in the second mode from the fourth transparency 0 to the third transparency 1 within the sixth animation duration.

[0444] At the same time, the size of the displayed image of the mountain is updated from the third size (0.82 times) to the fourth size (1 times), and the transparency of the displayed image of the mountain in the second mode is changed from the third transparency 1 to the fourth transparency 0, and the displayed image of the mountain in the first mode is displayed. Fig.14 (b).

[0445] During the sixth motion effect duration, the transparency of the displayed image of the dark background is changed from the fourth transparency 0 to the third transparency 1, hiding the displayed image of the dark background. The displayed image of the dark background may be a mask.

[0446] Finally, the target interface in the second mode is displayed. Fig.14 (c).

[0447] In some embodiments, the target interface is a mountain clock display interface, and the sixth object may include digital time, mountain 1, and mountain 2. Exemplarily, the sixth animation duration is 1000ms. The third transparency may be 1, and the fourth transparency may be 0.

[0448] When the electronic device detects that the ambient light data is greater than or equal to the first ambient light threshold, it enters a bright environment. If the current mode is the second mode, a sixth update sub-instruction is generated to switch from the second mode to the first mode.

[0449] The first mode includes a black digital image of the digital time, and the first mode includes a display image of Mountain 1 and a display image of Mountain 2. The second mode includes a white digital image of the digital time.

[0450] Exemplarily, in response to the sixth update sub-instruction, the electronic device changes the transparency of the white digital image of the digital time in the second mode from the fourth transparency 0 to the third transparency 1 within 1000ms; and simultaneously changes the transparency of the black digital image of the digital time in the first mode from the third transparency 1 to the fourth transparency 0.

[0451] Within 1000ms, the size of the displayed image of mountain 1 is updated from the third size (0.82 times) to the fourth size (1 times), and the transparency of the displayed image of mountain 1 in the second mode is changed from the third transparency 1 to the fourth transparency 0, and the displayed image of mountain 1 in the first mode is displayed.

[0452] Within 1000 ms, the transparency of the display image of the mountain 2 is changed from the third transparency 1 to the fourth transparency 0, and the display image of the mountain 2 in the first mode is displayed.

[0453] Within 1000ms, the transparency of the displayed image with the dark background is changed from the fourth transparency 0 to the third transparency 1, so as to hide the displayed image with the dark background. The displayed image with the dark background may be a mask.

[0454] In this embodiment, the electronic device can display images of various objects in the target interface in the first mode or the second mode corresponding to different pre-configured ambient lights. When the switch between the bright environment and the dark environment is generated, the sixth update sub-instruction for switching between the first mode and the second mode is generated. The electronic device can respond to the fifth update sub-instruction to obtain the display images of various objects in the target interface in the corresponding mode, and realize the replacement and update of the display image of the sixth object in the target interface, so as to avoid the problem of long-term continuous static display of the display image of the object in the target interface, thereby reducing the risk of screen burn-in caused by long-term continuous static display of the display screen of the electronic device. Moreover, the display of different display images adapted to the ambient light data of the electronic device can be realized, which can provide users with a more comfortable eye experience that is more adapted to the ambient light, and enrich the display effect of the target interface.

[0455] In some embodiments, when the electronic device displays the target interface for the first time after turning on the screen-off display mode, the display images of each object in the target interface can be dynamically displayed to optimize the entry display effect of the target interface.

[0456] In some embodiments, if the operation of displaying the target interface is the first operation of displaying the target interface after the electronic device is in the screen-off display mode, the animation parameter includes a seventh animation sub-parameter corresponding to the operation of displaying the target interface. The at least one object includes a seventh object.

[0457] The seventh object may include one or more objects in the target interface. The seventh object may be the same as or different from the first object, the second object, the third object, the fourth object, the fifth object, and the sixth object. For example, when the target interface is a mountain clock display interface, the seventh object may be objects such as digital time, clouds, mountains, and background in the mountain clock display interface.

[0458] The motion effect parameters include the seventh motion effect sub-parameter corresponding to the operation of displaying the target interface. The seventh motion effect sub-parameter includes the seventh motion effect duration, the fifth transparency and the sixth transparency corresponding to the seventh object. Among them, the sixth transparency is less than the fifth transparency, and the seventh motion effect duration includes the first sub-duration.

[0459] Exemplarily, the target interface is a mountain clock display interface, the seventh object includes a mountain time, and the seventh motion effect sub-parameter may include the seventh motion effect duration 1 corresponding to the mountain, and the fifth transparency and sixth transparency of the display image of the mountain.

[0460] Exemplarily, the target interface including multiple objects may be regarded as a whole as the seventh object. The seventh motion effect sub-parameter may include the seventh motion effect duration 2 corresponding to the entire target interface, the fifth transparency and the sixth transparency of the entire target interface.

[0461] In the above step 202, the electronic device displays a display image of at least one object on the target interface, including:

[0462] The electronic device updates the display transparency of the display image of the seventh object from the fifth transparency to the sixth transparency within the first sub-period, and displays the display image of the seventh object at the sixth transparency on the target interface.

[0463] When the seventh object includes one or more objects, the transparency of the displayed image of each seventh object can be updated from the fifth transparency to the sixth transparency based on the seventh motion effect duration corresponding to each seventh object.

[0464] When the seventh object is the entire target interface, the transparency of the entire target interface can be updated from the fifth transparency to the sixth transparency within the seventh motion effect duration corresponding to the target interface.

[0465] The sixth transparency can be any value between 0-0.5, usually 0; the fifth transparency can be any value between 0.5-1, usually 1. The value range of transparency is usually between 0 and 1, 0 means opaque, and 1 means completely transparent.

[0466] For example, reference Fig.15 , Fig.15 A schematic diagram of a process of displaying a mountain clock display interface for the first time is given.

[0467] refer to Fig.15 (a), when the electronic device turns on the screen-off display function, the user triggers the electronic device to enter the screen-off display mode by clicking. In response to the single-click operation of the power button, the electronic device obtains the display images of each object of the mountain clock display interface. The electronic device determines that the operation of currently displaying the mountain clock display interface is the operation of displaying the mountain clock display interface for the first time after the screen-off display function is turned on, and the electronic device displays the mountain clock display interface based on the seventh motion effect sub-parameter.

[0468] For example, the entire mountain clock display interface is regarded as the seventh object, and the seventh animation duration can be 1000ms. In response to the operation of clicking the power button, the electronic device displays the mountain clock display interface within 1000ms. The first sub-duration can be 200ms, that is, the electronic device updates the transparency of the mountain clock display interface from the sixth transparency 0 to the fifth transparency 1 within 200ms in response to the operation of clicking the power button. The transparency change process can be referred to Fig.15 (b). Within 800ms after the electronic device completes the transparency change, the electronic device displays the mountain clock display interface, which can be referred to Fig.15 (c) realizes the dynamic display effect of entrance of the mountain clock display interface.

[0469] That is, the overall duration of displaying the target interface can be within 1000ms, and the duration of updating the transparency of the seventh object in the target interface can be within 200ms. The start time of displaying the target interface is the same as the start time of updating the transparency of the seventh object in the target interface. That is, displaying the target interface and updating the transparency of the seventh object in the target interface can be synchronized.

[0470] In this embodiment, the transparency of the display image of the eighth object in the target interface is changed to achieve a dynamic change effect of the target interface entry, which can bring a more immersive use experience to the user.

[0471] In some embodiments, a dynamic display effect of exiting the target interface may also be configured.

[0472] Among them, the motion effect parameter includes an eighth motion effect sub-parameter; at least one object includes an eighth object; the eighth motion effect sub-parameter includes a ninth motion effect duration, a seventh transparency and an eighth transparency corresponding to the eighth object; and the eighth transparency is less than the seventh transparency.

[0473] The eighth transparency can be any value between 0-0.5, and is usually 0; the seventh transparency can be any value between 0.5-1, and is usually 1. The value range of transparency is usually between 0 and 1, 0 means opaque, and 1 means completely transparent.

[0474] The eighth object may include one or more objects in the target interface. The eighth object may be the same as or different from the first object, the second object, the third object, the fourth object, the fifth object, the sixth object, and the seventh object. For example, when the target interface is a mountain clock display interface, the eighth object may be objects such as digital time, clouds, mountains, and background in the mountain clock display interface.

[0475] When the electronic device receives an operation to exit the target interface, the electronic device updates the display transparency of the display image of the ninth object in the target interface from the eighth transparency to the seventh transparency within the ninth animation effect duration, and exits the target interface.

[0476] The operation of exiting the target interface may be an operation of the user switching the display interface, for example, switching to another display interface by swiping up, down, left, right, etc. Alternatively, the operation of exiting the target interface may also be an operation of exiting the screen-off display mode.

[0477] Exemplarily, when the screen is off when the electronic device is in a horizontal position, the operation of exiting the target interface may also be an operation to bring the electronic device out of the horizontal position, such as picking up the electronic device to place it vertically, or other operations to pick up the electronic device to bring it out of the horizontal position.

[0478] In this embodiment, if the electronic device receives an operation to exit the target interface, and the eighth object includes one or more, the transparency of the displayed image of each eighth object can be updated from the eighth transparency to the seventh transparency based on the ninth motion effect duration corresponding to each eighth object.

[0479] When the seventh object is the entire target interface, the transparency of the entire target interface can be updated from the eighth transparency to the seventh transparency within the ninth motion effect duration corresponding to the target interface.

[0480] Among them, the eighth transparency can be 0; the seventh transparency can be 1.

[0481] For example, reference Fig.16 , Fig.16 A schematic diagram of a process of exiting the mountain clock display interface is given.

[0482] The electronic device is placed horizontally, in the screen-off display mode, and displays the mountain clock display interface. Fig.16 (a). When the electronic device detects that the position of the electronic device has changed, causing the electronic device to be out of a horizontal placement state, the mountain clock display interface is exited based on the seventh motion effect sub-parameter.

[0483] Exemplarily, for example, the entire mountain clock display interface is regarded as the eighth object, and the ninth animation effect duration can be 1000ms.

[0484] 200ms. Reference Fig.16 (b), the electronic device responds to the operation of exiting the target interface, and within 200ms, updates the transparency of the mountain clock display interface from the eighth transparency 0 to the seventh transparency 0. Finally, the electronic device displays other interfaces. For example, the electronic device can turn on the screen to display the lock screen interface, which can be referred to Fig.16 (c). Alternatively, the electronic device displays another display interface that is switched to. The exit dynamic display effect of the mountain clock display interface is realized.

[0485] In this embodiment, the dynamic change effect of the target interface exiting is achieved by changing the transparency of the display image of the eighth object in the target interface, which can bring a more immersive usage experience to the user.

[0486] In order to make the entrance display effect of the target interface richer, the effect of the size change of the seventh object in the target interface can also be displayed during the process of displaying the target interface.

[0487] In some embodiments, the seventh animation sub-parameter also includes the fifth size and the sixth size corresponding to the seventh object, wherein the sixth size is smaller than the fifth size, and the seventh animation duration also includes the second sub-duration.

[0488] Displaying a display image of the seventh object at the sixth transparency on the target interface includes:

[0489] Within the second sub-time period, the electronic device adjusts the display image of the seventh object in the target interface from the fifth size to the sixth size, and displays the display image of the seventh object corresponding to the sixth size at the sixth transparency on the target interface.

[0490] The second sub-duration is a portion of the duration of the seventh animation effect of the target interface. For example, the duration of the seventh animation effect is 1000ms, and within 200ms (first sub-duration) of the synchronization start of the target interface display, it is used to update the transparency of the seventh object in the target interface. The second sub-duration can be 400ms, for example, within 400ms of the synchronization start of the target interface display, it is used to update the size of the seventh object in the target interface.

[0491] Among them, different seventh objects may correspond to different second sub-durations. For example, the seventh object includes digital time and mountain 1. The second sub-duration of digital time may be 800ms, and the second sub-duration of mountain 1 may be 1000ms. Based on the size of the original image of the displayed image, the fifth size may be 1.2 times the size of the original image, and the sixth size may be 1 times the size of the original image. The seventh motion effect duration may be 1200ms.

[0492] refer to Fig.17 , Fig.17 A schematic diagram of the change in display image size during the entry of various target interfaces is given.

[0493] refer to Fig.17 (a)- Fig.17 (c) The electronic device responds to a single click of the power button and displays a peak clock display interface within 1200ms.

[0494] During the display process, the electronic device updates the transparency of the mountain clock display interface from the fifth transparency 0 to the sixth transparency 1 within 200ms. The electronic device updates the display image of the digital time from the fifth size (1.2 times) to the sixth size (1 times) within 800ms. Fig.17 (b).

[0495] Among them, the start time of displaying the target interface and the start time of updating the transparency of the seventh object in the target interface and the start time of updating the size of the display image of the seventh object can be the same. That is, displaying the target interface, updating the transparency of the seventh object in the target interface, and updating the size of the display image of the seventh object can be synchronized. That is, after updating the size of the display image of the seventh object, after 400ms, the display operation of the target interface is completed. The display interface of the mountain clock displayed by the electronic device can be referred to Fig.17 (c) realizes the dynamic display effect of entrance of the mountain clock display interface.

[0496] In some embodiments, updating the transparency of the seventh object in the target interface and updating the size of the displayed image of the seventh object may be asynchronous.

[0497] For example, in response to a single click of the power button, the electronic device displays a peak clock display interface within 1200ms. Fig.17 (d).

[0498] During the display process, the electronic device updates the transparency of the mountain clock display interface from the fifth transparency 1 to the sixth transparency 0 within 200ms. Fig.17 (e).

[0499] After completing the transparency update, the electronic device updates the display image of the digital time from the fifth size (1.2 times) to the sixth size (1 times) within 800ms, referring to Fig.17 (f).

[0500] After the size of the display image of the seventh object is updated, after 200ms, the display operation of the target interface is completed. Fig.17 (g) realizes the dynamic display effect of entrance of the mountain clock display interface.

[0501] That is, the first sub-duration may overlap, partially overlap, or not overlap with the second sub-duration within the seventh animation effect duration.

[0502] When the seventh object includes a plurality of objects, the fifth size and the sixth size of each seventh object and the second sub-duration of each seventh object may be configured according to actual display effects.

[0503] In this embodiment, the update of the size of the display image of each object is added to the dynamic display effect of entering the target interface, so that the dynamic display effect of entering the target interface is richer.

[0504] In some embodiments, the target interface includes multiple display images of the seventh object, and the electronic device can also configure the entry direction of each display image of the seventh object. For example, the display image of the digital time can enter from top to bottom, and the transparency and size of the display image of the digital time are updated at the same time, so that the dynamic display effect of the entry of the target interface is richer.

[0505] For example, when the electronic device is placed horizontally, the geometric center of the electronic device is used as the coordinate origin, the Y axis is perpendicular to the ground, and the X axis is parallel to the ground. The display image of digital time can be moved 120f (120 pixels) downward along the Y axis to enter the target interface. For example, the display image of the mountain can be moved 40f (40 pixels) to the right along the X axis to enter the target interface, and so on. This embodiment does not limit this.

[0506] In this embodiment, the update of the position of the display image of each object is added to the dynamic display effect of entering the target interface, so that the dynamic display effect of entering the target interface is richer.

[0507] In some embodiments, the seventh motion effect sub-parameter further includes the eighth motion effect duration, the third position and the fourth position of the seventh object, wherein the third display position is different from the fourth display position.

[0508] The eighth object may be one or more objects in the target interface.

[0509] The electronic device displays a display image of at least one object on a target interface, including:

[0510] The electronic device displays a display image of the seventh object at a third position of the target interface.

[0511] The third display position may be a default display position of each seventh object configured by the electronic device on the target interface.

[0512] The method further includes:

[0513] After the seventh animation effect duration, within the eighth animation effect duration, the electronic device updates the display position of the display image of the seventh object in the target interface from the third position to the fourth position.

[0514] In some embodiments, in combination with the above Fig.17 (a)- Fig.17 In the example of (c), the electronic device responds to the operation of clicking the power button, which can be referred to Fig.18 , Fig.18 A schematic diagram of changing the position of a displayed image after a target interface enters the scene is given.

[0515] For reference Fig.18 (a) shows the peak clock display interface within 1200ms.

[0516] During the display process, the electronic device updates the transparency of the mountain clock display interface from the fifth transparency 1 to the sixth transparency 0 within 200ms. The electronic device updates the display image of the digital time from the fifth size (1.2 times) to the sixth size (1 times) within 800ms. Fig.18 (b).

[0517] After the size of the display image of the seventh object is updated, after 400ms, the display operation of the target interface is completed. Fig.18 (c).

[0518] After the mountain clock display interface is displayed, the display position of the eighth object is updated.

[0519] Exemplarily, the eighth object may be a mountain. Fig.18 The display image of Zhongshan in (c) is located at the third position of the peak clock display interface.

[0520] During the eighth animation duration, the electronic device moves the displayed image of the mountain by a distance h3 to the fourth position, referring to Fig.18 (d). For example, the eighth motion effect duration may be 10s, and h3 may be 40f (40 pixels).

[0521] That is, after the electronic device completes the dynamic display effect of entering the venue in 1200ms, the position of the eighth object is moved within 10s. The electronic device can also move the position of the eighth object according to a preset direction and a preset distance.

[0522] When the eighth object includes multiple objects, the eighth animation duration, preset direction, and preset distance of different objects may be different (refer to Figure 2 (c)).

[0523] For example, when the eighth object includes clouds, mountain 1, and mountain 2 in the mountain clock display interface, the eighth animation duration corresponding to the clouds can be 10s, the preset direction is right, and the preset distance is 140f; the eighth animation duration corresponding to mountain 1 can be 10s, the preset direction is left, and the preset distance is 40f; the eighth animation duration corresponding to mountain 2 can be 10s, the preset direction is left, and the preset distance is 150f.

[0524] That is, after the electronic device completes the dynamic display effect of entering the scene in 1200ms, it moves the display image of the cloud to the right by 140f, moves the display image of mountain 1 to the left by 40f, and moves the display image of mountain 2 to the left by 150f within 10s. This embodiment does not limit the number of eighth objects and the specific dynamic display effect of each eighth object.

[0525] In this embodiment, after completing the dynamic display of the entry of the target interface, the display position of each object in the target interface is updated to avoid the problem of the display image of the object in the target interface being displayed statically for a long time, thereby reducing the risk of screen burn-in caused by long-term continuous static display of the display screen of the electronic device.

[0526] In some embodiments, the electronic device may be based on Figure 5 and Figure 6 The object position of the provided target interface is updated in an embodiment, Figure 7 Provide an implementation of updating the size of an object of a target interface, Figure 8 An updated embodiment of a display image of an object of a target interface is provided, Fig. 9 and Fig.10 The embodiment of the target interface update based on time period switching is provided, Fig.12 One or more updating methods in the provided embodiments of updating the target interface based on switching of ambient light data are used to perform screen-off display of the target interface, thereby realizing dynamic updating of display targets of different dimensions.

[0527] In some embodiments, for the first update sub-instruction, the second update sub-instruction, the third update sub-instruction, the fourth update sub-instruction, the fifth update sub-instruction, etc. in the above embodiments, their corresponding priorities can be configured. When the electronic device receives more than two update instructions at the same time, an update instruction with the highest priority is executed.

[0528] For example, the priority of the first update sub-instruction for periodically updating the position of the display image of the object in the target interface is level 1, which is the highest priority. The priority of the fifth update sub-instruction for switching the time period is level 2. The priority of level 2 is lower than the priority of level 1. When the electronic device receives the first update sub-instruction and the fifth update sub-instruction at the same time, the electronic device preferentially executes the first update sub-instruction with a higher priority.

[0529] If the electronic device receives other update instructions while executing the target interface update in response to a certain update instruction, the electronic device can give priority to the update instruction currently being executed. For example, the electronic device responds to the fifth update sub-instruction and executes the update operation of the display image switched in the time period; during this period, the periodic first update sub-instruction is received. In this case, the electronic device continues to execute the update operation in response to the fifth update sub-instruction and ignores the first update sub-instruction.

[0530] When the electronic device is in the screen-off display mode, the target interface can be dynamically displayed by updating the position, size, or image of the displayed image, thereby avoiding screen burn-in. Therefore, when the electronic device faces multiple update instructions, it can select one of the update instructions to execute to achieve the effect of dynamically displaying the target interface. It does not need to execute all the received update instructions, which can reduce the problem of increased power consumption or performance impact caused by dynamic display.

[0531] In some embodiments, if the electronic device receives multiple update instructions at the same time, and the start times of the update actions indicated by the multiple update instructions overlap, then the electronic device may also simultaneously execute the update actions corresponding to the multiple update instructions. For example, if the electronic device receives the first update sub-instruction and the second update sub-instruction, the electronic device may update the size of the displayed image at the position of the displayed image of the moving object.

[0532] In some embodiments, if the start time of the execution of the dynamic effect can be synchronized, the update operations corresponding to different update instructions can be superimposed to make the dynamic effect of the target interface richer.

[0533] In some embodiments, when configuring the display images of various objects in the target interface, layers corresponding to the display images of various objects may be constructed. For example, the target interface is a mountain clock display interface, and the objects include clouds, mountains, and digital time. The electronic device may construct layer 1 corresponding to the display image of clouds, layer 2 corresponding to the display image of mountains, and layer 3 corresponding to the display image of digital time. Figure 2-Figure 18 In the embodiments provided, updating the transparency of the displayed image may be updating the transparency of the layer of the displayed image. Moving the position of the displayed image may be moving the position of the layer of the displayed image. Multiple layers may be set to have overlapping display order. When different layers correspond to different dynamic display effects, the overall dynamic display effect of the target interface will have more screen space depth and experience beauty.

[0534] The present application also provides a chip system (eg, a system on a chip (SoC)), such as Fig.19As shown, the chip system includes at least one processor 701 and at least one interface circuit 702. The processor 701 and the interface circuit 702 can be interconnected by lines. For example, the interface circuit 702 can be used to receive signals from other devices (such as a memory of an electronic device). For another example, the interface circuit 702 can be used to send signals to other devices (such as a processor 701 or a camera of an electronic device). Exemplarily, the interface circuit 702 can read instructions stored in the memory and send the instructions to the processor 701. When the instruction is executed by the processor 701, the electronic device can perform the various steps in the above embodiments. Of course, the chip system may also include other discrete devices, which are not specifically limited in the embodiments of the present application.

[0535] An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step executed by the electronic device 100 in the above-mentioned method embodiment.

[0536] The embodiment of the present application further provides a computer program product, which, when executed on a computer, enables the computer to execute the functions or steps executed by the electronic device 100 in the above method embodiment. For example, the computer may be the above electronic device 100.

[0537] Through the description of the above implementation methods, technical personnel in the relevant field can clearly 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 assigned to 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.

[0538] In the several embodiments provided in the present 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 only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, 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.

[0539] The units described as separate components may or may not be physically separated, and the 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 different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0540] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0541] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0542] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A method for displaying a screen off, characterized in that: Applied to an electronic device, the electronic device includes a display screen, and the method includes: When the electronic device is in the screen-off display mode, the electronic device responds to the user's operation of displaying a target interface, and obtains a display image of at least one object in the target interface corresponding to the system time; the target interface is one of the multiple display interfaces in the screen-off display mode; the target interface is configured with motion effect parameters corresponding to the preset update instruction; the motion effect parameters include the motion effect duration, display transparency, display position and display size of at least one object; The electronic device displays a display image of the at least one object on the target interface; The electronic device responds to the preset update instruction, updates the target interface with the motion effect parameters, and adjusts at least one of the displayed image, display transparency, display position, and display size of at least one object in the target interface.

2. The method according to claim 1, characterized in that The at least one object includes a first object; the preset update instruction includes a first update sub-instruction, and the first update sub-instruction is used to represent a periodic image display position update instruction; The motion effect parameters include a first motion effect sub-parameter corresponding to the first update sub-instruction, and the first motion effect sub-parameter includes a first motion effect duration, a first position, and a second position corresponding to the first object; the first position is different from the second position; The electronic device displays a display image of the at least one object on the target interface, including: The electronic device displays a display image of the first object at a first position of the target interface; The electronic device updates the target interface with the motion effect parameter in response to the preset update instruction, and adjusts at least one of the displayed image, displayed transparency, displayed position, and displayed size of at least one object in the target interface, including: In response to the first update sub-instruction, the electronic device updates the display position of the display image of the first object in the target interface from the first position to the second position within the first animation duration.

3. The method according to claim 1 or 2, characterized in that: The at least one object includes a second object; the preset update instruction includes a second update sub-instruction, and the second update sub-instruction is used to represent a periodic image display position update instruction; The motion effect parameters include a second motion effect sub-parameter corresponding to the second update sub-instruction, and the second motion effect sub-parameter includes a second motion effect duration, a preset direction, and a preset distance corresponding to the second object; The electronic device updates the target interface with the motion effect parameter in response to the preset update instruction, and adjusts at least one of the displayed image, displayed transparency, displayed position, and displayed size of at least one object in the target interface, including: In response to the second update sub-instruction, the electronic device moves the displayed image of the second object in the target interface along the preset direction by the preset distance within the second animation duration.

4. The method according to any one of claims 1 to 3, characterized in that The at least one object includes a third object; the preset update instruction includes a third update sub-instruction, and the third update sub-instruction is used to represent a periodic image display size update instruction; The motion effect parameters include a third motion effect sub-parameter corresponding to the third update sub-instruction, and the third motion effect sub-parameter includes a third motion effect duration, a first size, and a second size corresponding to the third object; the first size is different from the second size; The electronic device displays a display image of the at least one object on the target interface, including: The electronic device displays the display image of the third object in the target interface in the first size; The electronic device updates the target interface with the motion effect parameter in response to the preset update instruction, and adjusts at least one of the displayed image, displayed transparency, displayed position, and displayed size of at least one object in the target interface, including: In response to the third update sub-instruction, the electronic device adjusts the display image of the third object in the target interface from the first size to the second size within the third animation duration.

5. The method according to any one of claims 1 to 4, characterized in that The at least one object includes a fourth object; the preset update instruction includes a fourth update sub-instruction, and the fourth update sub-instruction is used to represent the image update instruction; The motion effect parameter includes a fourth motion effect sub-parameter corresponding to the fourth update sub-instruction, and the fourth motion effect sub-parameter includes a fourth motion effect duration corresponding to the fourth object; the display image of the fourth object includes a first display image and a second display image; The first display image is different from the second display image; The electronic device displays a display image of the at least one object on the target interface, including: The electronic device displays a first display image of the fourth object on the target interface; The electronic device updates the target interface with the motion effect parameter in response to the preset update instruction, and adjusts at least one of the displayed image, displayed transparency, displayed position, and displayed size of at least one object in the target interface, including: In response to the fourth update sub-instruction, the electronic device updates the first display image of the fourth object displayed in the target interface to the second display image within the fourth animation duration.

6. The method according to any one of claims 1 to 5, characterized in that The acquiring a display image of at least one object in the target interface corresponding to the system time includes: The electronic device determines the target time period to which the system time belongs; The electronic device acquires a display image of at least one object of the target interface corresponding to the target time period; Wherein, a day includes a first time period and a second time period; The first time period corresponds to a third display image of at least one object in the target interface; The second time period corresponds to a fourth display image of at least one object in the target interface; The third display image and the fourth display image of each object are different.

7. The method according to claim 6, characterized in that The at least one object includes a fifth object; the preset update instruction includes a fifth update sub-instruction, and the fifth update sub-instruction is used to represent a time period switching instruction; The motion effect parameters include a fifth motion effect sub-parameter corresponding to the fifth update sub-instruction, and the fifth motion effect sub-parameter includes a fifth motion effect duration, a first transparency, and a second transparency corresponding to the fifth object; The second transparency is less than the first transparency; The electronic device displays a display image of the at least one object on the target interface, including: The electronic device displays, on the target interface, a display image of the fifth object in the target interface corresponding to the first time period; The electronic device updates the target interface with the motion effect parameter in response to the preset update instruction, and adjusts at least one of the displayed image, displayed transparency, displayed position, and displayed size of at least one object in the target interface, including: In response to the fifth update sub-instruction, the electronic device updates the display transparency of the display image of the fifth object in the target interface corresponding to the first time period from the second transparency to the first transparency within the fifth animation effect duration; Within the fifth motion effect duration, updating the display transparency of the display image of the fifth object in the target interface corresponding to the second time period from the first transparency to the second transparency; The first time period is a preceding time period adjacent to the second time period.

8. The method according to claim 6 or 7, characterized in that: Each of the time periods includes a fifth display image of at least one object of the target interface corresponding to the first mode and a sixth display image of at least one object of the target interface corresponding to the second mode; The acquiring a display image of at least one object in the target interface corresponding to the system time includes: The electronic device detects the ambient light intensity to obtain ambient light data; If the ambient light data of the electronic device is greater than or equal to a preset first ambient light threshold, the electronic device obtains a fifth display image of at least one object of the target interface in the first mode corresponding to the time period to which the system time belongs; If the ambient light data of the electronic device is less than or equal to a preset second ambient light threshold, the electronic device obtains a sixth display image of at least one object of the target interface in the second mode corresponding to the time period to which the system time belongs; Wherein, the first ambient light threshold is greater than the second ambient light threshold.

9. The method according to claim 8, characterized in that The at least one object includes a sixth object; the preset update instruction includes a sixth update sub-instruction, and the sixth update sub-instruction is used to represent a switching instruction between the first mode and the second mode; The motion effect parameters include a sixth motion effect sub-parameter corresponding to the sixth update sub-instruction, and the sixth motion effect sub-parameter includes a sixth motion effect duration, a third transparency, a fourth transparency, a third size, and a fourth size corresponding to the sixth object; the fourth transparency is less than the third transparency; The third size is different from the fourth size; The electronic device displays a display image of the at least one object on the target interface, including: The electronic device displays, on the target interface, a display image of the sixth object corresponding to the first mode; The electronic device updates the target interface with the motion effect parameter in response to the preset update instruction, and adjusts at least one of the displayed image, displayed transparency, displayed position, and displayed size of at least one object in the target interface, including: In response to the sixth update sub-instruction, the electronic device updates the display transparency of the display image of the sixth object corresponding to the first mode from the fourth transparency to the third transparency, and updates the display transparency of the display image of the sixth object corresponding to the second mode from the third transparency to the fourth transparency; The electronic device updates the display size of the display image of the sixth object corresponding to the second mode from the third size to the fourth size.

10. The method according to any one of claims 1 to 9, characterized in that If the operation of displaying the target interface is the first operation of displaying the target interface after the electronic device is in the screen-off display mode, the motion effect parameter includes a seventh motion effect sub-parameter; The at least one object includes a seventh object; the seventh motion effect sub-parameter includes a seventh motion effect duration, a fifth transparency, and a sixth transparency corresponding to the seventh object; The sixth transparency is less than the fifth transparency; The seventh motion effect duration includes the first sub-duration; The electronic device displays a display image of the at least one object on the target interface, including: Within the first sub-time period, the electronic device updates the display transparency of the display image of the seventh object from the fifth transparency to the sixth transparency, and displays the display image of the seventh object at the sixth transparency on the target interface.

11. The method according to claim 10, characterized in that The seventh motion effect sub-parameter also includes the fifth size and the sixth size corresponding to the seventh object, wherein the sixth size is smaller than the fifth size; the seventh motion effect duration also includes the second sub-duration; Displaying the display image of the seventh object at the sixth transparency on the target interface includes: Within the second sub-time period, the electronic device adjusts the display image of the seventh object in the target interface from the fifth size to the sixth size, and displays the display image of the seventh object corresponding to the sixth size under the sixth transparency in the target interface.

12. The method according to claim 10 or 11, characterized in that: The seventh motion effect sub-parameter also includes the eighth motion effect duration, the third position and the fourth position of the seventh object, wherein the third position is different from the fourth position; The electronic device displays a display image of the at least one object on the target interface, including: The electronic device displays the display image of the seventh object at the third position of the target interface; The method further comprises: After the seventh animation effect duration, within the eighth animation effect duration, the electronic device updates the display position of the display image of the seventh object in the target interface from the third position to the fourth position.

13. The method according to any one of claims 1 to 12, characterized in that The motion effect parameter includes an eighth motion effect sub-parameter; the at least one object includes an eighth object; the eighth motion effect sub-parameter includes a ninth motion effect duration, a seventh transparency, and an eighth transparency corresponding to the eighth object; The eighth transparency is less than the seventh transparency; The electronic device displays a display image of the at least one object on the target interface, including: The electronic device displays, on the target interface, a display image of an eighth object corresponding to the eighth transparency; The method further comprises: When the electronic device receives an operation to exit the target interface, the electronic device updates the display transparency of the display image of the eighth object in the target interface from the eighth transparency to the seventh transparency within the ninth animation effect duration, and exits the target interface.

14. The method according to any one of claims 1 to 13, characterized in that If the target interface includes multiple objects, The duration of the animation of each object in the animation parameters corresponding to the preset update instruction is different; Alternatively, the display transparency of each of the objects in the dynamic effect parameters corresponding to the preset update instruction is different; Alternatively, the display positions of the objects in the dynamic effect parameters corresponding to the preset update instructions are different; Alternatively, the display sizes of the objects in the motion effect parameters corresponding to the preset update instructions are different.

15. An electronic device, characterized in that: The electronic device includes a display screen, a memory and one or more processors; the display screen and the memory are coupled to the processor; the memory stores computer program code, and the computer program code includes computer instructions. When the computer instructions are executed by the processor, the electronic device executes the method as described in any one of claims 1-14.

16. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on an electronic device, cause the electronic device to execute the method as claimed in any one of claims 1 to 14.

Citation Information

Patent Citations

  • Display control method and display control device of intelligent terminal, and intelligent terminal

    CN105741768A

  • Display device, screen burn-in inhibition method, and recording medium

    CN110968283A

  • Screen-off display method and electronic equipment

    CN112235452A

  • Method for preventing burn-in in local screen-on mode and display equipment

    CN114339359A

  • Screen-off display method and electronic equipment

    CN115129215A