Display method, electronic device and medium
By displaying screen-destroying animation and AOD animation when the system mode of the electronic device is in ON mode, and switching to OFF mode after the preset time, the problem of black screen after the screen is eliminated is solved, and the visual experience and battery life are improved.
Patent Information
- Application Number
- CN202310724883.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-16
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2043-06-16
AI Technical Summary
Existing electronic devices will experience black screen problems after the screen is removed, resulting in a decrease in user visual experience.
When the system mode of the electronic device is in ON mode, the screen-off animation is displayed and the AOD animation continues to be displayed after the animation playback is finished until the preset time is switched to OFF mode to turn off the display.
It avoids the black screen problem, improves the smoothness of interface switching and user's visual experience, while reducing energy consumption and improving the battery life of electronic devices.
Smart Images

Figure CN117714587B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a display method, electronic equipment and medium. Background Art
[0002] like Figure 1 As shown, this figure is a process diagram of displaying an AOD animation provided by an embodiment of the present application. At present, after triggering the screen-off operation (for example, pressing the power button), the electronic device first plays the screen-off animation (such as interface 220), then displays a black screen (such as interface 230), and finally displays the AOD animation (such as interface 240). It can be seen that the current interface switching will have a black screen problem, thereby reducing the user's visual experience. Summary of the invention
[0003] The present application provides a display method, electronic device and medium, which can improve the visual experience.
[0004] In order to achieve the above purpose, this application adopts the following technical solutions:
[0005] In a first aspect, the present application provides a display method, which can be performed by an electronic device, and the method includes:
[0006] When the system mode is in the ON mode, the electronic device displays a first interface, which may be a desktop interface, an application interface, etc. In response to the first screen-off operation, the electronic device displays a screen-off animation, and then when the screen-off animation is played, the electronic device displays a screen-off display animation when the system mode is in the ON mode. After displaying the screen-off display animation for a first preset time, the electronic device switches the system mode from the ON mode to the OFF mode.
[0007] In this method, for the user, the user can observe that the electronic device first displays the screen-off animation, and then displays the AOD animation. During the process of the electronic device displaying the screen-off animation and the AOD animation, the system mode of the electronic device has been in the ON mode, and has not switched to the OFF mode or the DOZE mode. In this way, the electronic device will not only not have a black screen problem, but also will not have a brightness jump, thereby improving the user's visual experience. In addition, after the AOD animation is displayed for the first preset duration, the electronic device switches the system mode from the ON mode to the OFF mode, so that the display screen of the electronic device is turned off. Since the electronic device only displays the AOD animation of the first preset duration in the ON mode, the increased energy consumption for the electronic device is negligible. After displaying the AOD animation of the first preset duration, the electronic device controls the display screen to turn off, thereby reducing the energy consumption of the electronic device and improving the battery life of the electronic device.
[0008] In some possible implementations, after the electronic device switches the system mode from the ON mode to the OFF mode, the electronic device may also switch the system mode from the OFF mode to the DOZE mode in response to the first operation, and display a screen-off display animation in the DOZE mode. The first operation may be a tap operation, and after the electronic device enters a black screen state, the user may tap the screen of the electronic device to switch the system mode of the electronic device from the OFF mode to the DOZE mode, and display the AOD interface in the DOZE mode.
[0009] In some possible implementations, the electronic device can also determine whether the wallpaper mode is the super wallpaper mode. If the wallpaper mode is the super wallpaper mode, a screen-off animation is displayed. If the wallpaper mode is not the super wallpaper mode, the electronic device directly switches from ON mode to OFF mode without displaying the screen-off animation.
[0010] In some possible implementations, the screen-off operation may be an operation of pressing a lock screen button, or other operations, such as controlling the lock screen through voice control.
[0011] In some possible implementations, the screen-off display mode of the electronic device is a tap mode.
[0012] In some possible implementations, before the electronic device displays the screen-off animation, the method also includes: the electronic device acquires a screen-off display mode; in this implementation, the step of the electronic device displaying a screen-off animation may include: when the screen-off display mode of the electronic device is a tap mode, entering the step of the electronic device displaying a screen-off animation.
[0013] In some possible implementations, after the electronic device acquires the screen-off display mode, the method further includes: when the screen-off display mode of the electronic device is the all-day mode, the electronic device displays a first interface, and the system mode of the electronic device is in the ON mode; in response to a second screen-off operation, the electronic device displays a screen-off animation; when the screen-off animation is finished playing, the electronic device switches the system mode from the ON mode to the OFF mode, and then from the OFF mode to the DOZE mode; when the system mode of the electronic device is in the DOZE mode, the electronic device continues to display the screen-off display animation.
[0014] In some possible implementations, after the electronic device acquires the screen-off display mode, the method further includes: when the screen-off display mode of the electronic device is the timing mode, the electronic device displays a first interface, and the system mode of the electronic device is in the ON mode; in response to a third screen-off operation, the electronic device displays a screen-off animation; when the screen-off animation is finished, the electronic device switches the system mode from the ON mode to the OFF mode; when the current moment is within the time period corresponding to the timing mode, the electronic device switches the system mode from the OFF mode to the DOZE mode; when the system mode of the electronic device is in the DOZE mode, the electronic device displays the screen-off display animation.
[0015] In some possible implementations, if the wallpaper mode is not the super wallpaper mode, the electronic device switches the system mode from ON mode to OFF mode, and from OFF mode to DOZE mode; when the system mode is in DOZE mode, the electronic device displays a screen-off animation.
[0016] In some possible implementations, the similarity between the last frame image of the screen-off animation and the first frame image of the screen-off animation is greater than a similarity threshold. In this way, during the interface switching process, since the last frame image of the screen-off animation and the first frame image of the screen-off animation are relatively close, the smoothness of the interface switching can be further improved.
[0017] In a second aspect, the present application provides an electronic device, comprising: a display screen, a processor, and a memory;
[0018] The display screen is used to display the screen-off animation and the screen-off display animation;
[0019] One or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the electronic device executes any method in the first aspect.
[0020] According to a third aspect, a computer storage medium includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes any one of the methods according to the first aspect.
[0021] In a fourth aspect, the present application provides a computer program product, comprising instructions; when the instructions are executed by an electronic device, the electronic device executes any one of the methods in the first aspect above.
[0022] The technical solution of this application has the following beneficial effects:
[0023] The present application provides a display method, which can be executed by an electronic device, and the method includes: when the system mode of the electronic device is in the ON mode, when the electronic device displays a first interface, the electronic device responds to a first screen-off operation, displays a screen-off animation, and when the screen-off animation ends, continues to display the AOD animation in the ON mode.
[0024] In this method, the user can observe that the electronic device first displays the screen-off animation and then displays the AOD animation. During the process of the electronic device displaying the screen-off animation and the AOD animation, the system mode of the electronic device has been in the ON mode and has not switched to the OFF mode or the DOZE mode. In this way, the electronic device will not only not have a black screen problem, but also will not have a brightness jump, thereby improving the user's visual experience.
[0025] Furthermore, after the AOD animation is displayed for a first preset duration, the electronic device switches the system mode from the ON mode to the OFF mode, so that the display screen of the electronic device is turned off. Since the electronic device only displays the AOD animation for the first preset duration in the ON mode, the increased energy consumption of the electronic device is minimal. After the AOD animation for the first preset duration is displayed, the electronic device controls the display screen to turn off, thereby reducing the energy consumption of the electronic device and improving the battery life of the electronic device.
[0026] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it is understood that the description of features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, the description of technical features, technical solutions or beneficial effects in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in the present embodiment can also be combined in any appropriate manner. Those skilled in the art will understand that the embodiment can be realized without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in a specific embodiment that does not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A process diagram for displaying an AOD animation provided in an embodiment of the present application;
[0028] Figure 2 A timing diagram for displaying an AOD animation provided in an embodiment of the present application;
[0029] Figure 3 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0030] Figure 4 A schematic diagram of the software structure of an electronic device provided in an embodiment of the present application;
[0031] Figure 5 A schematic diagram of an application scenario provided in an embodiment of the present application;
[0032] Fig. 6A A schematic diagram of a display method provided in an embodiment of the present application;
[0033] Figure 6B A schematic diagram of another display method provided in an embodiment of the present application;
[0034] Figure 6C A schematic diagram of another display method provided in an embodiment of the present application;
[0035] Figure 7 A flowchart of a display method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] The terms "first", "second", "third", etc. in the specification, claims and drawings of this application are used to distinguish different objects rather than to limit a specific order.
[0037] 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.
[0038] In order to make the description of the following embodiments clear and concise, some related technologies appearing in the following embodiments are briefly introduced first:
[0039] AOD (Always on Display) refers to the function of an electronic device (such as a mobile phone) that still displays information when the screen is locked. For example, an electronic device can display an AOD interface in the lock screen state. The AOD interface may include information such as time, date, missed calls, and may also include some animation effects. For example, during the day, sunrise animation effects and sunset animation effects may be displayed, and at night, starry sky animation effects may be displayed.
[0040] The screen-off animation refers to the animation displayed by the electronic device after the screen-off operation is triggered. For example, the screen-off animation may be the animation corresponding to the super wallpaper function. Exemplarily, the user may trigger the screen-off operation by pressing the power button of the electronic device, and the electronic device may play the screen-off animation in response to the screen-off operation.
[0041] The system mode of an electronic device may include an ON mode, an OFF mode, a DOZE mode, and a DOZE_SUSPEND mode. Generally, when the system mode of an electronic device is in the ON mode, it displays various information, such as application icons, notifications, etc., when the system mode is in the OFF mode, it does not display any information, and when the system mode is in the DOZE mode or the DOZE_SUSPEND mode, it displays the AOD interface. Among them, in the DOZE mode, animations, refresh times, notifications, etc. can be displayed, and in the DOZE_SUSPEND mode, images cannot be refreshed and time cannot be updated, and the power consumption is lower than that in the DOZE mode.
[0042] In super wallpaper mode (a mode in which a screen-off animation is played after the screen is locked), the electronic device responds to the first screen-off operation, plays a screen-off animation when the system mode is in the ON mode, and then switches to the DOZE mode to display the AOD animation in the DOZE mode. However, the screen brightness of the display screen in the ON mode is significantly different from that in the DOZE mode, about 30 lux. For users, they can clearly feel the jump in the brightness of the display screen, which reduces the user's visual experience.
[0043] In order to reduce the brightness jump of the display screen, the electronic device responds to the first screen-off operation, plays the screen-off animation when the system mode is in the ON mode, then switches to the OFF mode first, and then switches to the DOZE mode, and displays the AOD animation in the DOZE mode. However, when the system mode is in the OFF mode, the display screen is in a black screen state, that is, the display screen of the electronic device first displays the screen-off animation, then the black screen, and finally the AOD animation, and there is a black screen problem. For ease of understanding, the display of the AOD animation will be used as an example for introduction.
[0044] Continue to see Figure 1, the figure shows the interface change process of the display screen of the electronic device in the super wallpaper scene. When the electronic device displays any interface (such as the desktop, application interface), if the user presses the power button, the electronic device plays the screen-off animation. When the screen-off animation is played, the electronic device will be black, and then the AOD animation will be displayed. Exemplarily, the electronic device can display interface 210 when the display screen is in the ON state, and then the user can press the power button to perform the first screen-off operation. After the electronic device detects the first screen-off operation, the electronic device starts to play the screen-off animation. Interface 220 is a frame image in the screen-off animation. After the screen-off animation is played, the display screen of the electronic device switches to the OFF state. When the display screen is in the OFF state, the electronic device displays a black screen. Interface 230 is a schematic diagram of a black screen; then the display screen of the electronic device switches from the OFF state to the DOZE state. When the display screen is in the DOZE state, the electronic device displays the AOD animation. Interface 240 is a frame image in the AOD animation. The process of the electronic device displaying interface 230 is as long as several hundred milliseconds, which not only affects the smoothness of the electronic device interface switching, but also reduces the user's visual experience.
[0045] like Figure 2 As shown, this figure is a process diagram for displaying AOD animation provided in an embodiment of the present application.
[0046] After the electronic device receives the first screen-off operation, it can first determine whether the wallpaper mode is the super wallpaper mode, where the super wallpaper mode refers to a mode in which a screen-off animation is played after a screen-off event is read. In other examples, it can also be other modes in which the electronic device reads a screen-off event and plays a screen-off animation.
[0047] If the wallpaper mode is not the super wallpaper mode, the system mode of the electronic device is directly switched from the ON mode to the OFF mode, and the display screen of the electronic device does not display any content, that is, a black screen, and then switches to the DOZE mode, and the display screen of the electronic device displays the AOD animation.
[0048] If the wallpaper mode is super wallpaper mode, the electronic device will play a screen-off animation in response to receiving a screen-off event when the system mode is in ON mode. In the second half of the screen-off animation, a transition animation will also be played. Then the system mode of the electronic device will switch from ON mode to OFF mode, and then quickly switch to DOZE mode, and display the AOD animation in DOZE mode.
[0049] It can be seen that in the super wallpaper mode, the system mode of the electronic device will first switch from ON mode to OFF mode, and then to DOZE mode. During this process, when the system mode is in the OFF state, a black screen will appear on the display, and the electronic device cannot display the AOD animation in one shot, reducing the user's visual experience.
[0050] In the above two cases, after the electronic device displays the AOD animation for a first preset time (e.g., 5 seconds), the system mode of the electronic device switches from the DOZE mode to the OFF mode. If a tap event (e.g., clicking the screen, pressing the power button, etc.) occurs subsequently, the electronic device can switch from the OFF mode to the DOZE mode in response to the tap operation and display the AOD animation in the DOZE mode.
[0051] It should be noted that Figure 2 The time values in the timing diagram shown are merely exemplary and the present application is not limited thereto.
[0052] As mentioned above, the black screen problem of electronic devices can last for hundreds of milliseconds, which not only affects the smoothness of the electronic device interface switching, but also reduces the user's visual experience.
[0053] In view of this, an embodiment of the present application provides a display method, which can be executed by an electronic device, and the method includes: displaying a first interface, wherein the system mode of the electronic device is in the ON mode, the electronic device responds to the first screen-off operation, and displays a screen-off animation, and when the screen-off animation ends, the system mode of the electronic device is still in the ON mode, and the AOD animation continues to be displayed in the ON mode. In this method, for the user, the user can observe that the electronic device first displays the screen-off animation, and then displays the AOD animation. In the process of the electronic device displaying the screen-off animation and the AOD animation, the electronic device is always in the ON mode and does not switch to the OFF mode or the DOZE mode. In this way, the electronic device will not only not have a black screen problem, but also will not produce a brightness jump, thereby improving the user's visual experience.
[0054] Furthermore, when the electronic device is in the ON mode, after displaying the AOD animation for a first preset duration, the electronic device switches from the ON mode to the OFF mode, so that the display screen of the electronic device is turned off. Since the electronic device only displays the AOD animation for the first preset duration in the ON mode, the increased energy consumption of the electronic device is minimal. After displaying the AOD animation for the first preset duration, the electronic device controls the display screen to turn off, thereby reducing the energy consumption of the electronic device and improving the battery life of the electronic device.
[0055] In some embodiments, the electronic device may be a device with a display screen, and the electronic device supports the super wallpaper function and the AOD function. For example, the electronic device may be a mobile phone, a tablet computer, a desktop, a laptop, a notebook computer, an ultra-mobile personal computer (UMPC), a handheld computer, a netbook, a personal digital assistant (PDA), a wearable electronic device, a smart watch, and the like. The present application does not impose any special restrictions on the specific form of the above electronic devices. In this embodiment, the structure of the electronic device may be as follows: Figure 3 As shown, this figure is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
[0056] like Figure 3 As shown, the electronic device may include a processor 110, an internal memory 121, a power management module 141, a button 190, a display screen 194, and a touch sensor 180K.
[0057] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than shown in the figure, or combine some components, or split 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.
[0058] 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 video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors. For example, in the present application, the processor may control the electronic device to display a first interface, and the system mode of the electronic device is in ON mode; in response to a first screen-off operation, a screen-off animation is displayed; when the screen-off animation is played, the system mode of the electronic device displays a screen-off display animation in the ON mode; after the screen-off display animation is displayed for a first preset duration, the system mode of the electronic device is switched from ON mode to OFF mode.
[0059] The controller can be the nerve center and command center of the electronic device. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
[0060] The power management module 141 is used to connect the battery and the processor 110. The power management module 141 receives the input of the battery and supplies power to the processor 110, the internal memory 121, the display screen 194, 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 the embodiment of the present application, the power management module 141 can also be used to start the AOD process.
[0061] The electronic device implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 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. In some examples, the processor 110 can control the state of the display screen 194, for example, switching the display screen 194 from an ON state to an OFF state, from an OFF state to a DOZE state, from a DOZE state to an OFF state, etc.
[0062] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode 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 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0063] A series of graphical user interfaces (GUIs) can be displayed on the display screen 194 of the electronic device, and these GUIs are the main screen of the electronic device. Generally speaking, the size of the display screen 194 of the electronic device is fixed, and only limited controls can be displayed on the display screen 194 of the electronic device. A control is a GUI element, which is a software component included in an application program, and controls all data processed by the application program and interactive operations on the data. Users can interact with the control through direct manipulation to read or edit relevant information of the application program. Generally speaking, a control can include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc.
[0064] In some examples, the electronic device can respond to the first screen-off operation by displaying a screen-off animation when the display screen 194 is in the ON state, and displaying an AOD animation when the screen-off animation ends. In the process of the electronic device displaying the screen-off animation and the AOD animation, the display screen of the electronic device is always in the ON state and does not switch to the OFF state or the DOZE state. In this way, the electronic device will not only not have a black screen problem, but also will not have a brightness jump, thereby improving the user's visual experience.
[0065] The internal memory 121 may 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 by running the instructions stored in the internal memory 121. For example, in this embodiment, the processor 110 may execute the following steps by executing the instructions stored in the internal memory 121:
[0066] A first interface is displayed, and the system mode of the electronic device is in ON mode; in response to a first screen-off operation, a screen-off animation is displayed; when the screen-off animation is finished playing, the system mode of the electronic device displays the screen-off display animation in the ON mode; after the screen-off display animation is displayed for a first preset time period, the system mode of the electronic device is switched from ON mode to OFF mode.
[0067] Among them, the program storage area can 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 can store data created during the use of the electronic device (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. The processor 110 executes various functional applications and data processing of the electronic device by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.
[0068] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K 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 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device, which is different from the position of the display screen 194. In some embodiments, when the display screen of the electronic device is in the OFF state, the trigger sensor 180K can detect the touch operation acting on the display screen 194, and the electronic device controls the display screen 194 to switch from the OFF state to the DOZE state and display the AOD animation. It can also control the display screen 194 to switch from the OFF state to the ON state to display the lock screen interface or other interfaces, such as the desktop.
[0069] The button 190 includes a power button, a volume button, etc. The button 190 may be a mechanical button. It may also be a touch button. The electronic device may receive the button input and generate a key signal input related to the user settings and function control of the electronic device. For example, when the user triggers the first screen-off operation through the power button, the electronic device may respond to the first screen-off operation, display the screen-off animation and the AOD animation, and then control the display screen 194 to switch from the ON state to the OFF state after the display screen 194 displays the AOD animation for the first preset duration, so that the display screen 194 is turned off.
[0070] In addition, an operating system is run on the above components, and application programs can be installed and run on the operating system.
[0071] The operating system of the electronic device may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device.
[0072] like Figure 4 As shown, this figure is a schematic diagram of the software structure of an electronic device provided in an embodiment of the present application.
[0073] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into an application layer, an application framework layer, and a kernel layer. In addition to the above software structure, the electronic device may also include a hardware layer.
[0074] The application layer may include a series of applications, such as a super wallpaper module and an AOD module. The super wallpaper module is used to provide a resource view corresponding to the screen-off animation. During the screen-off process of the electronic device, the electronic device can display the screen-off animation based on the resource view corresponding to the screen-off animation. The AOD module is used to provide a resource view corresponding to the AOD animation. After the screen-off animation displayed by the electronic device is played, the electronic device displays the AOD animation based on the resource view corresponding to the AOD animation.
[0075] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions. The application framework layer may include an input event receiving module, a power management module, and a surfaceflinger, etc.
[0076] Among them, the input event receiving module is used to receive event information and distribute the event information. For example, after the user presses the power button, the hardware layer can generate a screen off event. The input event receiving module can read the screen off event and distribute it. For example, the screen off event can be distributed to the power management module. After receiving the screen off event, the power management module can start the AOD process. Surfaceflinger is used to manage and render graphical interfaces, including application interfaces, AOD animations, screen off animations, etc. Surfaceflinger manages graphic elements through the abstract concept of Surface. Each Surface represents an independent graphic object and can contain one or more graphic layers. Surfaceflinger synthesizes these graphic layers into a single image, and then sends the synthesized image to the display screen so that the display screen can display it. For example, multiple synthesized images can form a screen off animation, AOD animation, etc.
[0077] The kernel layer is a layer between the hardware layer and the software layer. The kernel layer includes display drivers, button drivers, sensor drivers, and in some other examples, other drivers.
[0078] The hardware layer includes a display screen, buttons (such as a power button), etc. The display screen is used to display a series of graphical user interfaces, and the power button is used to trigger the first screen-off operation, power on, power off, etc.
[0079] It should be noted that although the embodiments of the present application are described using the Android system as an example, its basic principles are also applicable to electronic devices based on other operating systems.
[0080] In order to make the technical solution of the present application clearer and easier to understand, the application scenarios of the display method provided by the present application are introduced below.
[0081] like Figure 5 As shown, the figure is a schematic diagram of an application scenario provided by an embodiment of the present application.
[0082] In this scenario, the electronic device can display a screen-on interface when the system mode is in the ON mode. The screen-on interface is shown in interface 510. The interface 510 can be a desktop, an application interface, etc. The screen-on interface can be a first interface. When the electronic device displays interface 510, the user can press the power button to trigger the first screen-off operation. The electronic device responds to the first screen-off operation and displays a screen-off animation. The screen-off animation is shown in interface 520. Interface 520 is a frame in the screen-off animation. After the screen-off animation is played, the system mode of the electronic device does not switch to the OFF mode, but remains in the ON mode and continues to display the AOD animation. The AOD animation is shown in interface 530. In other examples, the screen-off animation can also be an image displayed by the electronic device in response to the first screen-off operation, such as a dynamic image. The AOD animation can be a video, an image, or a combination of a video and an image. Exemplarily, when the AOD animation is a video, displaying the AOD animation may be playing the video; when the AOD animation is an image, displaying the AOD animation may be displaying the image, for example, displaying a 5s image; when the AOD animation is composed of a video and an image, displaying the AOD animation may be playing the video first and then displaying the image, for example, playing a 3s video first and then displaying the last frame of the 2s video.
[0083] Thus, in this scenario, the electronic device can realize the one-shot function from the screen-off animation to the AOD animation, and since the electronic device is not switched to the OFF mode, the display screen will not have a black screen problem during this process, and the electronic device is not switched from the ON mode to the DOZE mode, and thus there will be no brightness jump. It can be seen that this method not only improves the smoothness of the interface switching, but also improves the user's visual experience.
[0084] Furthermore, after the electronic device displays the AOD animation for a first preset time, the system mode can be controlled to switch from the ON mode to the OFF mode, and the electronic device displays a black screen, such as interface 540. Since the time that the system mode of the electronic device is in the ON mode only increases by the first preset time, the energy consumption of the electronic device increases slightly. In addition, after the system mode is switched from the ON mode to the OFF mode, the display screen turns off, which can further reduce the energy consumption of the electronic device and improve the battery life.
[0085] In some embodiments, the off-screen display (AOD) mode of an electronic device may include multiple modes, such as a touch mode, a timer mode, and an all-day mode. Among them, the touch mode refers to a mode in which the electronic device displays the AOD animation for a certain period of time and then turns off the screen, and the AOD animation is displayed when the screen is touched again; the timer mode refers to a mode in which the electronic device displays the AOD animation within a set time period; and the all-day mode refers to a mode in which the electronic device displays the AOD animation all the time.
[0086] The following describes the display method provided by the embodiment of the present application by taking the electronic device in the light touch mode as an example in conjunction with the accompanying drawings. Fig. 6A As shown, this figure is a schematic diagram of a display method provided in an embodiment of the present application.
[0087] In this method, after the electronic device receives a screen-off event, it can determine whether the wallpaper mode is a preset mode. The preset mode can be a super wallpaper mode. The super wallpaper mode refers to a mode in which a screen-off animation is played after receiving a screen-off event. If the wallpaper mode is not a preset mode, the control system mode is switched from ON mode to OFF mode, and then from OFF mode to DOZE mode, and then in DOZE mode, the AOD animation is displayed. After the electronic device displays the AOD animation of the first preset duration, the system mode of the electronic device is switched from DOZE mode to OFF mode, and the screen of the electronic device is turned off. Because the electronic device is in the tap mode, the user touches the screen of the electronic device again, and the electronic device switches from OFF mode to DOZE mode. In DOZE mode, after displaying the AOD animation of the first preset duration, the system mode of the electronic device is switched from DOZE mode to OFF mode, and the display screen of the electronic device is black.
[0088] If the electronic device determines that the wallpaper mode is the super wallpaper mode, the system mode does not switch from ON mode to OFF mode, but remains in ON mode first. In ON mode, the electronic device first plays the screen-off animation, determines the duration of the screen-off animation, and prepares to display the AOD animation when the second preset duration remains in the screen-off animation. As shown in the figure, the duration of the screen-off animation is 1600ms, and the electronic device can start preparing to display the AOD animation when the screen-off animation is played for 1100ms. At the end of the screen-off animation, the electronic device continues to display the AOD animation. At this time, the system mode remains in ON mode, and no mode switching is performed, so there will be no brightness jump caused by switching from ON mode to DOZE mode, and there will be no black screen problem caused by switching from ON mode to OFF mode, and then from OFF mode to DOZE mode to display the AOD animation. In this way, not only the smoothness of the interface switching is improved, but also the black screen problem is solved.
[0089] Among them, the second preset duration can be pre-set, for example, 500ms, and the electronic device can first calculate the duration of the screen-off animation, for example, 1600ms, and then determine that preparations need to be made for displaying the AOD animation when the screen-off animation plays for 1100ms. For example, a delay of 1100ms can be set, and preparations for displaying the AOD animation can be started after 1100ms of playing the screen-off animation. Exemplarily, preparing for displaying the AOD animation can include starting to create a resource view of the AOD animation, and performing some other services to subsequently display the AOD animation.
[0090] In some embodiments, the electronic device may also obtain the screen-off display mode of the electronic device before displaying the screen-off animation. If the screen-off display mode of the electronic device is the touch mode, Fig. 6A The process shown is to display the screen-off animation and the AOD animation. If the screen-off display mode of the electronic device is the all-day mode, the screen-off animation and the AOD animation are displayed in the following example.
[0091] In the all-day mode, the electronic device displays the first interface. At this time, the system mode of the electronic device is in the ON mode. In response to the second screen-off operation, the screen-off animation is displayed. When the screen-off animation ends, the electronic device switches the system mode from the ON mode to the OFF mode, and then from the OFF mode to the DOZE mode. Then, in the DOZE mode, the screen-off animation is displayed.
[0092] like Figure 6B As shown in FIG. 1 , this figure is a schematic diagram of another display method provided by an embodiment of the present application. Figure 6BIt can be seen that in the all-day mode, the electronic device responds to the second screen-off operation, and then determines whether the wallpaper mode is the super wallpaper mode. If the wallpaper mode is not the super wallpaper mode, the electronic device switches the system mode from ON mode to OFF mode, and then switches to DOZE mode, and displays the AOD animation in DOZE mode. If the wallpaper mode is the super wallpaper mode, the electronic device displays the screen-off animation when the system mode is ON mode. After the screen-off animation is played, the system mode is switched from ON mode to OFF mode, and then from OFF mode to DOZE mode, and the AOD animation is displayed in DOZE mode.
[0093] If the screen-off display mode of the electronic device is the timing mode, the screen-off animation and the AOD animation are displayed in the following example. In the timing mode, the electronic device displays the first interface, at which time the system mode of the electronic device is in the ON mode. In response to the screen-off operation, the screen-off animation is displayed. When the screen-off animation ends, the electronic device switches the system mode from the ON mode to the OFF mode. If the current moment is within the time period corresponding to the timing mode, the electronic device switches the system mode from the OFF mode to the DOZE mode, and then displays the screen-off display animation in the DOZE mode. Among them, the time period corresponding to the timing mode can be a pre-set time period, for example, it can be 08:00-18:00. If the current moment is not within the time period corresponding to the timing mode, the system mode of the electronic device remains in the OFF mode.
[0094] like Figure 6C As shown in FIG. 1 , this figure is a schematic diagram of another display method provided by an embodiment of the present application. Figure 6C It can be seen that in the timing mode, the electronic device responds to the third screen-off operation, and then determines whether the wallpaper mode is the super wallpaper mode. If the wallpaper mode is not the super wallpaper mode, the electronic device switches the system mode from the ON mode to the OFF mode, and then determines whether the current moment is within the time period corresponding to the timing mode (such as the timing period). If the current moment is within the timing period, the electronic device switches the system mode from the OFF mode to the DOZE mode, and displays the AOD interface in the DOZE mode until the current moment is not within the timing period. The electronic device switches the system mode from the DOZE mode to the OFF mode, and the display screen of the electronic device is black. Among them, the current moment changes in real time.
[0095] If the wallpaper mode is super wallpaper mode, the electronic device displays a screen-off animation when the system mode is ON mode. After the screen-off animation is finished, the system mode is switched from ON mode to OFF mode, and then it is determined whether the current moment is within the time period corresponding to the timing mode. If the current moment is within the timing period, the electronic device switches the system mode from OFF mode to DOZE mode, and displays the AOD interface in DOZE mode until the current moment is not within the timing period, at which time the electronic device switches the system mode from DOZE mode to OFF mode, and the display screen of the electronic device goes black.
[0096] It should be noted that the second screen-off operation and the third screen-off operation are similar to the first screen-off operation.
[0097] In the touch mode, after the electronic device displays the AOD animation for a first preset time, the system mode switches from the ON mode to the OFF mode, so that the display screen is turned off, thereby reducing the energy consumption of the electronic device. Then, the electronic device can read the touch event, and the touch event can be an event generated by the user touching the screen of the electronic device, wherein the operation of the user touching the screen of the electronic device can be a touch operation, and the touch operation can also be called a first operation, that is, the user triggering the first operation can generate a touch event. When receiving the touch operation, the electronic device can switch the system mode from the OFF mode to the DOZE mode in response to the touch operation, and display the AOD animation in the DOZE mode. In this way, the system mode of the electronic device seamlessly transitions from the ON mode to the DOZE mode to display the AOD animation, which not only reduces the energy consumption of the electronic device, but also improves the user's visual experience.
[0098] In order to make the technical solution of the present application clearer and easier to understand, the display method provided by the embodiment of the present application is introduced below in conjunction with the accompanying drawings. Figure 7 As shown, the figure is a flow chart of a display method provided in an embodiment of the present application, the method comprising:
[0099] S701: The user triggers the power button.
[0100] The user can trigger the first screen-off operation by using the power button. For example, when the user presses the power button, the hardware layer generates a screen-off event. In other examples, the user can also trigger the first screen-off operation by using the lock screen button. The lock screen button can be a virtual button displayed by the electronic device or the power button.
[0101] It should be noted that the screen-off event generated by the user triggering the power button is only exemplary. In other examples, the screen of the electronic device can also be turned off by voice control, thereby generating a screen-off event. This application does not specifically limit the way in which the screen-off event is generated.
[0102] S702: The input event receiving module reads a screen off event.
[0103] The input event receiving module of the application framework layer can read the screen off event, for example, by reading the screen off event from the hardware layer through the input reader. Then the input reader can pass the screen off event to the input dispatcher.
[0104] S703: The input event receiving module distributes the screen-off event to the power management module.
[0105] The input event receiving module of the application framework layer can distribute the screen-off event, such as sending the screen-off event to the power management module of the application framework layer. Exemplarily, the screen-off event can be sent to the power management module through the input dispatcher.
[0106] S704: After receiving the screen-off event, the power management module starts the AOD process.
[0107] The power management module of the application framework layer starts the AOD process after receiving the screen off event. For example, the AOD process can be started through the Starting dream function.
[0108] S705. The AOD module determines that the current wallpaper mode is the super wallpaper mode, and obtains the duration of the screen-off animation corresponding to the super wallpaper.
[0109] After the AOD process is started, the AOD module of the application layer can determine whether the current wallpaper mode is the super wallpaper mode. If the wallpaper mode is the super wallpaper mode, the duration of the screen-off animation corresponding to the super wallpaper is obtained. Exemplarily, the AOD module can obtain the number of frames of the screen-off animation corresponding to the super wallpaper, and then determine the duration of the screen-off animation based on the frame rate.
[0110] In some examples, when the AOD module determines that the current wallpaper mode is the super wallpaper mode, it can execute the AOD service, such as drawing the resource view of the AOD animation, setting the timer, etc. Exemplarily, the AOD module can trigger the execution of the AOD service through handleMessage:10. Among them, handleMessage:10 can be an instruction inside the AOD module, which is the same as triggering the execution of the corresponding service.
[0111] It should be noted that the above-mentioned drawing of the resource view of the AOD animation and setting of the timer are only examples of the AOD service, and the AOD service may also include other services. Therefore, when executing the AOD service, the AOD module not only draws the resources of the AOD animation, but also executes other services.
[0112] In some embodiments, after the AOD module determines that the current wallpaper mode is the super wallpaper mode, it can also obtain the current super wallpaper style, and further determine whether the current super wallpaper style matches the set AOD animation. If they match, the AOD animation will continue to play when the screen-off animation ends. Exemplarily, style matching can mean that the content of the screen-off animation is related to the content of the AOD animation, such as both are starry skies.
[0113] In some examples, the similarity between the last frame image of the screen-off animation and the first frame image of the AOD animation is greater than a similarity threshold. Exemplarily, the last frame image of the screen-off animation is consistent with the first frame image of the AOD animation. When the last frame image of the screen-off animation is similar to the first frame image of the AOD animation, the smoothness of the interface switching can be improved and the user's visual experience can be improved.
[0114] In some other embodiments, if the wallpaper mode is not the super wallpaper mode, the electronic device follows Fig. 6A The steps shown in the figure show AOD animation, etc. For details, please refer to Fig. 6A As shown, no further description is given here.
[0115] S706. The AOD module sends a screen-off animation play instruction to the super wallpaper module.
[0116] Exemplarily, after the AOD module of the application layer determines that the current wallpaper mode is the super wallpaper mode, it can send a screen-off animation playback instruction to the super wallpaper module of the application layer, and the screen-off animation playback instruction can be sendDynEffectCommand.
[0117] S707. The super wallpaper module sends a resource view of the screen-off animation to surfaceflinger.
[0118] After receiving the screen-off animation play instruction, the super wallpaper module of the application layer can send the resource view of the screen-off animation to surfaceflinger.
[0119] Among them, surfaceflinger is used to manage and render graphical interfaces, including application interfaces, AOD animations, screen-off animations, etc. surfaceflinger manages graphic elements through the abstract concept of Surface. Each Surface represents an independent graphic object and can contain one or more graphic layers. surfaceflinger synthesizes these graphic layers into a single image, and then sends the synthesized image to a display (such as an LCD) for display. For example, multiple synthesized images can form screen-off animations, AOD animations, etc.
[0120] S708. Surfaceflinger draws a screen-off animation image according to the resource view of the screen-off animation.
[0121] As described above, after receiving the resource view of the screen-off animation, the surfaceflinger of the application framework layer can draw the screen-off animation image based on the resource view of the screen-off animation. Exemplarily, the resource view of the screen-off animation is synthesized into a screen-off animation image, wherein the screen-off animation can be composed of multiple screen-off animation images.
[0122] S709. Surfaceflinger sends the drawn screen-off animation image to the display screen.
[0123] After drawing the screen-off animation image, the surfaceflinger of the application framework layer can send the screen-off animation image to the display screen so that the display screen can display the screen-off animation image. In the process of continuously sending multiple screen-off animation images to the display screen, the display screen can achieve the effect of displaying the screen-off animation. In the process of the display screen displaying the screen-off animation, the state of the display screen is ON.
[0124] S710. When the second preset duration remains after the screen-off animation is played, the AOD module creates a resource view of the AOD animation.
[0125] The AOD module of the application layer can create a resource view of the AOD animation when the second preset duration of the screen-off animation is remaining, so as to send the resource view of the AOD animation to surfaceflinger when the screen-off animation ends. The second preset duration can be pre-set, for example, it can be 500ms, or it can be other values. The second preset duration can be determined based on the duration required for the AOD module to create the resource view of the AOD animation. For example, the second preset duration is greater than or equal to the duration required for the AOD module to create the resource view of the AOD animation.
[0126] Exemplarily, after the AOD module determines the duration of the screen-off animation, it can determine the time point for creating the resource view of the AOD animation based on the duration of the screen-off animation and the second preset duration, and then create the resource view of the AOD animation at this time point. For example, the duration of the screen-off animation is 1600ms, and the second preset duration is 500ms. The AOD module can start creating the resource view of the AOD animation after the screen-off animation plays for 1100ms. In some examples, the AOD module can trigger the creation of the resource view of the AOD animation through handleMessage:14.
[0127] It should be noted that, in addition to creating the resource view of the AOD animation, the AOD module can also handle other business details through handleMessage:14.
[0128] It should be noted that the embodiment of the present application does not specifically limit the timing of the AOD module creating the resource view of the AOD animation. In other embodiments, once the AOD module determines that the current wallpaper mode is the super wallpaper mode, it can start creating the resource view of the AOD animation. As long as the AOD module has enough time to create the resource view of the AOD animation.
[0129] S711. When the screen-off animation ends, the AOD module sends the resource view of the AOD animation to surfaceflinger.
[0130] The AOD module of the application layer can send the resource view of the AOD animation to surfaceflinger when the screen-off animation ends. For example, after determining the duration of the screen-off animation, the AOD module can know when the screen-off animation ends, and send the resource view of the AOD animation to surfaceflinger after the screen-off animation ends.
[0131] In other embodiments, the AOD module may also set a timer with a first preset duration when sending the resource view of the AOD animation to the surfaceflinger, and the first preset duration may be 5 seconds. When the timer with the first preset duration is reached, a screen-off instruction is sent to the power management module.
[0132] In some examples, when the AOD module determines that the screen off animation has finished playing, the resource view of the screen off animation can be cleared. Exemplarily, the AOD module can trigger the clearing of the resource view of the screen off animation through handleMessage:13. Among them, the process of clearing the resource view of the screen off animation does not need to interact with the super wallpaper module. The AOD module can display the AOD animation by blocking the screen off animation. For example, the resource view of the AOD animation can be displayed on the top layer. Then, the AOD module can control the display screen not to switch to the DOZE state. Exemplarily, the AOD module can control the display screen not to switch to the DOZE state through handleMessage:12.
[0133] S712. Surfaceflinger draws the AOD animation image according to the resource view of the AOD animation.
[0134] After receiving the resource view of the AOD animation, the surfaceflinger of the application framework layer draws the AOD animation image according to the resource view of the AOD animation. The way surfaceflinger draws the AOD animation image is similar to the way it draws the screen-off animation image. For details, please refer to the above example and will not be repeated here.
[0135] S713. Surfaceflinger sends the AOD animation image to the display screen.
[0136] After drawing the AOD animation image, the surfaceflinger of the application framework layer can send the AOD animation image to the display screen so that the display screen displays the AOD animation image. In the process of continuously sending multiple AOD animation images to the display screen, the display screen can achieve the effect of displaying the AOD animation. In this step, the display screen is in the ON state and displays the AOD animation.
[0137] S714. After the AOD module determines that the AOD animation is displayed for the first preset duration, it sends a setscreen state to: 1 to the power management module.
[0138] The above-mentioned set screen state to:1 (1 is OFF state) is a type of screen off instruction, which is used to switch the system mode from ON mode to OFF mode. In other examples, the screen off instruction may also be other forms of instructions. The AOD module of the application layer can send a screen off instruction to the power management module after determining the first preset duration of the AOD animation display. Exemplarily, the AOD module can pre-set a timer with a first preset duration, and send a screen off instruction to the power management module when the timer of the first preset duration is reached.
[0139] In some examples, the AOD module may start the timer when starting to create the AOD view, or may start the timer when handleMessage:14 is triggered.
[0140] S715. After receiving the screen-off instruction, the power management module notifies surfaceflinger to set the screen-off state.
[0141] In some examples, the AOD module and the power management module can be pre-configured to set "set screen state to:1" to set the OFF mode, "set screen state to:2" to set the ON mode, "set screen state to:3" to set the DOZE mode, and "set screen state to:4" to set the DOZE_SUSPEND mode. For the underlying surfaceflinger and display driver, "SetPowerMode_0" is to set the OFF mode, "SetPowerMode_1" is to set the DOZE mode, "SetPowerMode_2" is to set the ON mode, and "SetPowerMode_3" is to set the DOZE_SUSPEND mode.
[0142] After the power management module receives the set screen state to:1 sent by the AOD module, it knows that the system mode needs to be set to OFF mode. Then the power management module can send set screen stateto:1 to surfaceflinger to notify surfaceflinger to set the state of the display screen to the off state, that is, to set the system mode to OFF mode. After surfaceflinger receives set screen state to:1, it can know that the system mode needs to be set to OFF mode. Surfaceflinger can notify the display screen to power off so that the system mode switches from ON mode to OFF mode.
[0143] S716. Surfaceflinger sends a SetPowerMode_0 command to the display screen.
[0144] After receiving the set screen state to: 1 sent by the power management module, surfaceflinger sends the SetPowerMode_0 command to the display to switch the system mode from ON mode to OFF mode.
[0145] S717. After receiving the SetPowerMode_0 instruction, the display screen turns off.
[0146] After receiving the SetPowerMode_0 command, the display turns off the screen.
[0147] Based on the above description, in the display method provided in the embodiment of the present application, when the electronic device is in the system mode of the ON mode, after reading the screen off event, if it is determined that the current wallpaper mode is the super wallpaper mode, the screen off animation is displayed, and when the screen off animation is finished, the AOD animation is displayed. In this process, the electronic device is always in the ON mode without mode switching. Therefore, in this process, not only will there be no brightness jump, but there will also be no black screen problem, thereby improving the user's visual experience.
[0148] Furthermore, after the electronic device displays the AOD animation for a first preset time, the electronic device can control the system mode to switch from the ON mode to the OFF mode. The first preset time is short, for example, 5 seconds, and the electronic device adds the first preset time in the ON mode, which consumes less energy for the electronic device. Moreover, after the AOD animation is displayed for the first preset time, the electronic device switches from the ON mode to the OFF mode, thereby reducing the energy consumption of the electronic device and improving the battery life of the electronic device.
[0149] This embodiment also provides a computer-readable storage medium, which includes instructions. When the instructions are executed on an electronic device, the electronic device executes Figure 7 The relevant method steps in the embodiment are used to implement the method in the above embodiment.
[0150] This embodiment also provides a computer program product including instructions. When the computer program product is run on an electronic device, the electronic device executes the following Figure 7 The relevant method steps in the embodiment are used to implement the method in the above embodiment.
[0151] The above is only a specific implementation 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 should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A display method, characterized in that: Applied to an electronic device including a display screen, the method comprises: The electronic device displays a first interface, and the system mode of the electronic device is in an ON mode; When the screen-off display mode of the electronic device is the light-touch mode, in response to the first screen-off operation, the electronic device displays a screen-off animation; When the screen-off animation is played, the electronic device displays the screen-off display animation when the system mode is in the ON mode; the screen-off display animation is an AOD animation; After the screen-off display animation is displayed for a first preset time, the electronic device directly switches the system mode from the ON mode to the OFF mode; In response to the tap operation, the electronic device switches the system mode from the OFF mode to the DOZE mode, and displays a screen-off display animation in the DOZE mode.
2. The method according to claim 1, characterized in that: The display screen-off animation includes: If the wallpaper mode is the super wallpaper mode, the electronic device displays a screen-off animation.
3. The method according to any one of claims 1 to 2, characterized in that: The first screen-off operation includes pressing a lock screen button.
4. The method according to claim 1, characterized in that: After the screen-off display mode of the electronic device is changed to the light touch mode, the method further includes: When the screen-off display mode of the electronic device is the all-day mode, the electronic device displays the first interface, and the system mode of the electronic device is in the ON mode; In response to the second screen-off operation, the electronic device displays a screen-off animation; When the screen-off animation is played, the electronic device switches the system mode from the ON mode to the OFF mode, and then switches from the OFF mode to the DOZE mode; When the system mode of the electronic device is in the DOZE mode, the screen-off display animation is continuously displayed.
5. The method according to claim 1, characterized in that After the screen-off display mode of the electronic device is changed to the light touch mode, the method further includes: When the screen-off display mode of the electronic device is the timing mode, the electronic device displays the first interface, and the system mode of the electronic device is in the ON mode; In response to the third screen-off operation, the electronic device displays a screen-off animation; When the screen-off animation is played, the electronic device switches the system mode from the ON mode to the OFF mode; When the current moment is within the time period corresponding to the timing mode, the electronic device switches the system mode from the OFF mode to the DOZE mode; When the system mode is in DOZE mode, the electronic device displays a screen-off display animation.
6. The method according to claim 2, characterized in that The method further comprises: If the wallpaper mode is not the super wallpaper mode, the electronic device switches the system mode from the ON mode to the OFF mode, and from the OFF mode to the DOZE mode; When the system mode is in DOZE mode, the electronic device displays a screen-off display animation.
7. The method according to claim 1, characterized in that The similarity between the last frame image of the screen-off animation and the first frame image of the screen-off display animation is greater than a similarity threshold.
8. An electronic device, characterized in that: include: Display, processor and memory; The display screen is used to display the screen-off animation and the screen-off display animation; One or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the electronic device executes the method according to any one of claims 1 to 7.
9. A computer storage medium, characterized in that: The method comprises computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Display method and electronic equipment
CN114443194A
Display control method and device of terminal equipment, chip and equipment
CN115357317A