Display method, device, electronic equipment, medium and program product

CN122963680APending Publication Date: 2026-10-23BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510518035.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-23
Publication Date
2026-10-23

AI Technical Summary

Technical Problem

但是,在进行界面切换的过程中,存在着界面显示异常的问题

Benefits of technology

[0065]响应于显示切换指令,屏幕显示的界面需要变化,获取多个第一窗口的第一信息。根据多个第一信息,对多个第一窗口按预设顺序进行处理使多个第一窗口的显示和隐藏按预设顺序进行,得到至少一个目标界面。显示至少一个目标界面,以进行界面切换的反馈。通过按预设顺序对多个第一窗口进行处理来得到目标界面,避免每个第一窗口单独处理时因调用顺序问题而引起显示次序错误,从而提高了界面显示的效果。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122963680A_ABST
    Figure CN122963680A_ABST
Patent Text Reader

Abstract

The present disclosure relates to a display method, device, electronic equipment, medium and program product. The display method comprises: in response to a display switching instruction, obtaining first information of a plurality of first windows, the first information being used to represent the visible state of the first windows at different times; processing the plurality of first windows according to the plurality of first information in a preset order to obtain at least one target interface; and displaying the at least one target interface. By processing the plurality of first windows in a preset order to obtain the target interface, the display order error caused by the calling order when each first window is processed individually is avoided, thereby improving the effect of interface display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of display technology, and more particularly to a display method, apparatus, electronic device, medium, and program product. Background Technology

[0002] Electronic devices use display switching commands to display different interfaces during operation. For example, in lock screen mode, a display switching command used for unlocking switches the lock screen to the unlock screen, and vice versa. However, display anomalies can occur during these interface switching processes. Summary of the Invention

[0003] To overcome the problems existing in the related technologies, this disclosure provides a display method, apparatus, electronic device, medium, and program product.

[0004] According to a first aspect of the present disclosure, a display method is provided, the display method comprising:

[0005] In response to a display switching command, first information of multiple first windows is obtained, wherein the first information is used to characterize the visible state of the first window at different times;

[0006] Based on the plurality of first information, the plurality of first windows are processed in a preset order to obtain at least one target interface;

[0007] Display at least one of the target interfaces.

[0008] In this embodiment, the target interface is obtained by processing multiple first windows in a preset order, which avoids display order errors caused by the calling order when each first window is processed individually, thereby improving the reliability of the interface display.

[0009] In some embodiments of this disclosure, the first information includes the state of the first window at the start and end times; the step of processing the plurality of first windows in a preset order according to the plurality of first information to obtain at least one target interface includes:

[0010] The image corresponding to the first window that is in the display state at the start time is obtained, and the screen contained in the first window that is in the display state at the end time is drawn to obtain multiple first images of the multiple first windows;

[0011] Based on the plurality of first information, the plurality of first images are processed in the preset order to obtain at least one target interface.

[0012] In this embodiment, the target interface is obtained by processing multiple first images in the preset order, which avoids display order errors caused by the calling order when each first image is processed individually, thereby improving the reliability of the interface display.

[0013] In some embodiments of this disclosure, the step of processing the plurality of first images according to the plurality of first information in the preset order to obtain at least one target interface includes:

[0014] The first image corresponding to the first window with the starting time as the display state forms the starting interface;

[0015] Based on the states of the plurality of first windows at the start and end times, at least a portion of the first images are animated to obtain a transition interface formed by at least a portion of the first images with changes in visibility.

[0016] The first image corresponding to the first window with the end time as the display state forms the end interface.

[0017] In this embodiment, by forming corresponding target interfaces at different times, the interface can naturally transition from the starting interface to the lock screen interface or the unlock interface, thereby improving the reliability of the interface display.

[0018] In some embodiments of this disclosure, before processing the plurality of first images according to the plurality of first information in the preset order to obtain at least one target interface, the step of processing the plurality of first windows according to the plurality of first information in the preset order to obtain at least one target interface further includes:

[0019] Obtain second information of the second window, which is used to characterize the visibility state of the second window at different times;

[0020] The step of processing the plurality of first images according to the plurality of first information in the preset order to obtain at least one target interface includes:

[0021] Based on the plurality of first information and the second information, the plurality of first images and the second images are processed in the preset order to obtain at least one target interface, wherein the second image is formed by drawing the screen contained in the second window.

[0022] In this embodiment, by obtaining information from different windows in different processing steps, the inability to obtain information from windows that have not been generated is avoided, thereby improving the reliability of the interface display.

[0023] In some embodiments of this disclosure, the second information includes the state of the second window at the start and end times; the step of processing the plurality of first images and second images according to the preset order based on the plurality of first information and the second information to obtain at least one target interface includes:

[0024] The starting interface is formed by the images corresponding to the windows in the plurality of first windows and the second windows whose display state is at the start time;

[0025] Based on the states of the plurality of first windows and the second window at the start and end times, at least a portion of the plurality of first images and the second images are animated to obtain a transition interface formed by at least a portion of the plurality of first images and the second images with changes in visibility.

[0026] An end interface is formed by the images corresponding to the windows whose display state is the end time in the plurality of first windows and second windows.

[0027] In this embodiment, by forming corresponding target interfaces at different times, the interface can naturally transition from the starting interface to the ending interface, thereby improving the reliability of the interface display.

[0028] In some embodiments of this disclosure, in the transition interface, the images corresponding to windows that were in a hidden state at the end time of the plurality of first windows and second windows are gradually hidden, and the images corresponding to windows that were in a displayed state at the end time are gradually displayed.

[0029] In this embodiment, by making the image change gradually, the user can be given a visual representation of animation, thereby improving the effect of the interface display.

[0030] In some embodiments of this disclosure, in the transition interface, the images corresponding to the windows in the plurality of first windows and the second windows that were in a hidden state at the end time are immediately hidden, and the images corresponding to the windows that were in a displayed state at the end time are gradually displayed.

[0031] In this embodiment, by immediately hiding some images and gradually displaying others, the user can be given a visual representation of animation while reducing the time required for interface changes, thereby improving the effect of interface display.

[0032] In some embodiments of this disclosure, the plurality of first windows include at least two of a lock screen wallpaper window, a desktop wallpaper window, a desktop window, and an application window; the second window includes a lock screen window.

[0033] In this embodiment, by obtaining the information of the lock screen window after obtaining the first image, the inability to obtain the information avoids abnormal display of the lock screen window, thereby improving the reliability of the interface display.

[0034] In some embodiments of this disclosure, the display method further includes, in response to a display switching instruction:

[0035] Create a synchronized collection;

[0036] After acquiring the first information of the multiple first windows, the display method further includes:

[0037] Synchronize the plurality of first information to the synchronization set;

[0038] After obtaining the second information of the second window, the display method further includes:

[0039] The second information is synchronized to the synchronization set.

[0040] In this embodiment, multiple first windows and second windows are processed in a preset order by synchronizing the set, so as to avoid the processing of the first and second windows being affected by the order of obtaining the first and second information, thereby improving the reliability of the interface display.

[0041] In some embodiments of this disclosure, the step of processing the plurality of first images and second images in a preset order according to the plurality of first information and second information to obtain at least one target interface includes:

[0042] According to the synchronization set, the plurality of first images and second images are processed in the preset order to obtain at least one target interface.

[0043] In this embodiment, multiple first images and second images are processed in the preset order by a synchronization set, which avoids the first images and second images being displayed out of order due to the first information and the second information not being acquired at the same time, thereby improving the reliability of the interface display.

[0044] In some embodiments of this disclosure, at least one of the target interfaces includes a start interface, a transition interface, and an end interface; displaying at least one of the target interfaces includes:

[0045] The target interface is displayed frame by frame in the order of the starting interface, the transition interface, and the ending interface.

[0046] In this embodiment, by displaying the target interface frame by frame, the interface can gradually transition from the starting interface to the ending interface, thereby improving the reliability of the interface display.

[0047] According to a second aspect of the present disclosure, a display device is provided, the display device comprising:

[0048] The acquisition module is configured to acquire first information of a plurality of first windows in response to a display switching command, wherein the first information is used to characterize the visible state of the first windows at different times.

[0049] A processing module is configured to process the plurality of first windows in a preset order according to the plurality of first information to obtain at least one target interface;

[0050] A display module is configured to display at least one of the target interfaces.

[0051] In some embodiments of this disclosure, the processing module is configured to:

[0052] The image corresponding to the first window that is in the display state at the start time is obtained, and the screen contained in the first window that is in the display state at the end time is drawn to obtain multiple first images of the multiple first windows;

[0053] Based on the plurality of first information, the plurality of first images are processed in the preset order to obtain at least one target interface.

[0054] In some embodiments of this disclosure, the acquisition module is configured to:

[0055] Obtain second information of the second window, which is used to characterize the visibility state of the second window at different times;

[0056] The processing module is configured to:

[0057] Based on the plurality of first information and the second information, the plurality of first images and the second images are processed in the preset order to obtain at least one target interface, wherein the second image is formed by drawing the screen contained in the second window.

[0058] According to a third aspect of the present disclosure, an electronic device is provided, the electronic device comprising:

[0059] processor;

[0060] Memory used to store the processor's executable instructions;

[0061] The processor is configured to execute the display method described above.

[0062] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to perform the display method as described above.

[0063] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program or instructions that, when executed by a processor, implement the display method as described above.

[0064] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:

[0065] In response to a display switching command, the screen display needs to change, so the system acquires first information from multiple first windows. Based on this first information, the system processes the multiple first windows in a preset order, causing their display and hiding to occur in a predetermined sequence, resulting in at least one target interface. At least one target interface is then displayed to provide feedback during the interface switching process. By processing the multiple first windows in a preset order to obtain the target interface, the system avoids display order errors caused by the call order when processing each first window individually, thus improving the overall interface display effect.

[0066] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0067] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0068] Figure 1 This is a flowchart illustrating a display method according to an exemplary embodiment;

[0069] Figure 2 This is a flowchart illustrating a display method according to another exemplary embodiment;

[0070] Figure 3 This is a flowchart illustrating a display method according to another exemplary embodiment;

[0071] Figure 4 This is a flowchart illustrating a display method according to another exemplary embodiment;

[0072] Figure 5 This is a flowchart illustrating a display method according to another exemplary embodiment;

[0073] Figure 6 This is a flowchart illustrating a display method according to another exemplary embodiment;

[0074] Figure 7 This is a block diagram of a display device according to an exemplary embodiment;

[0075] Figure 8 This is a block diagram of an electronic device according to an exemplary embodiment.

[0076] In the picture:

[0077] 100 - Acquisition module; 200 - Processing module; 300 - Display module; 400 - Electronic device; 402 - Processing component; 404 - Memory; 406 - Power supply component; 408 - Multimedia component; 410 - Audio component; 412 - Input / output interface; 414 - Sensor component; 416 - Communication component; 420 - Processor. Detailed Implementation

[0078] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims. It should also be understood that the term “and / or” as used in this disclosure refers to any or all possible combinations including one or more of the associated listed items.

[0079] During use, electronic devices display different interfaces via display switching commands. For example, in lock screen mode, a display switching command for unlocking switches the lock screen to the unlock screen, and vice versa. Since each interface contains one or more windows, the visibility of these windows changes during interface switching. Because each window is processed independently, and the complexity of the images within each window varies, the order in which each image is drawn also differs. Since each image is shown or hidden immediately after drawing, an incorrect order of drawing can lead to abnormal display order, affecting the reliability of the interface display. For example, if the lock screen wallpaper and lock screen controls are hidden before the desktop wallpaper and desktop controls are fully drawn, a completely black screen may appear.

[0080] This disclosure provides a display method, such as... Figure 1 As shown, the method includes:

[0081] S100, in response to the display switching command, obtain first information of multiple first windows, the first information being used to characterize the visible state of the first windows at different times.

[0082] S200. Based on multiple pieces of first information, process multiple first windows in a preset order to obtain at least one target interface.

[0083] S300, Display at least one target interface.

[0084] In this embodiment, in response to a display switching command, the screen display needs to change, and first information of multiple first windows is obtained. Based on the multiple first information, the multiple first windows are processed in a preset order so that the display and hiding of the multiple first windows are performed in a preset order, resulting in at least one target interface. At least one target interface is displayed to provide feedback on the interface switching. By processing multiple first windows in a preset order to obtain the target interface, display order errors caused by the calling order problem when processing each first window individually are avoided, thereby improving the interface display effect.

[0085] For example, the display switching command can be a command that changes the display interface. For instance, the display switching command can be a screen lock command, an unlock command, an application switching command, etc. Processing in a preset order can be done synchronously or sequentially.

[0086] For example, in response to a display switching command, the visibility of some windows changes, while the visibility of others remains unchanged. Multiple first windows are multiple windows whose visibility changes. For instance, in a lock screen interface, in response to an unlock operation, the visibility of the lock screen window, lock screen wallpaper window, desktop window, and desktop wallpaper window changes, while the visibility of the application window remains unchanged. Multiple first windows include the lock screen window, lock screen wallpaper window, desktop window, and desktop wallpaper window. The first windows include, but are not limited to, the lock screen wallpaper window, lock screen window, desktop wallpaper window, desktop window, and application window.

[0087] For example, in response to a display switching command, the wallpaper controller updates the visibility of the desktop wallpaper window and the lock screen wallpaper window, and the Window Manager Service (WMS) updates the visibility of the desktop window and the application window. After the window visibility is updated, it can be determined whether the visibility of each window has changed, thereby identifying multiple first windows.

[0088] For example, the number of target interfaces varies depending on the scenario or user settings corresponding to the display switching command. For instance, in response to unlocking the device from a screen-off state and entering an application window, since no transition interface is needed, the number of target interfaces can be one. In response to unlocking the device from a lock screen, since a transition interface is needed to gradually hide the lock screen and gradually reveal the unlock screen, the number of target interfaces is multiple.

[0089] In one embodiment, in response to a display switching command, the display method further includes:

[0090] Create a synchronized collection.

[0091] After obtaining the first information of multiple first windows in step S100, the display method further includes:

[0092] Synchronize multiple pieces of first information to the synchronization set.

[0093] In this embodiment, by synchronizing multiple pieces of first information to a synchronization set, the omission of first information is avoided, thereby improving the reliability of the interface display.

[0094] In one embodiment, the step S200 of processing multiple first windows according to a preset order based on multiple first pieces of information to obtain at least one target interface can be determined in the following way:

[0095] Based on the synchronization set, multiple first windows are processed in a preset order to obtain at least one target interface.

[0096] In this embodiment, multiple first windows are processed in a preset order by a synchronization set, which avoids the processing of the first windows being affected by the order of first information acquisition, thereby improving the reliability of the interface display.

[0097] In one embodiment, the first information includes the state of the first window at the start and end times. For example... Figure 2 As shown, the step S200, which processes multiple first windows according to a preset order based on multiple first pieces of information to obtain at least one target interface, can also be determined in the following way:

[0098] S210. Obtain the image corresponding to the first window that is in the display state at the start time, and draw the screen contained in the first window that is in the display state at the end time, so as to obtain multiple first images of multiple first windows.

[0099] S220. Based on multiple first pieces of information, process multiple first images in a preset order to obtain at least one target interface.

[0100] In this embodiment, since the screen of each first window needs to be displayed at both the beginning and the end, the image corresponding to the first window in the display state at the beginning is obtained, and the screen contained in the first window in the display state at the end is drawn, resulting in multiple first images for multiple first windows. Based on multiple first pieces of information, the multiple first images are processed in a preset order to synchronize the display and hiding of the multiple first images, resulting in at least one target interface. By processing multiple first images in a preset order to obtain the target interface, the display order error caused by the calling order problem when processing each first image individually is avoided, thereby improving the interface display effect.

[0101] For example, the screen contained in the first window can be a wallpaper or a control, etc.

[0102] In one embodiment, the step S220 of processing multiple first images according to a preset order based on multiple first pieces of information to obtain at least one target interface can be determined in the following way:

[0103] Based on multiple pieces of first information, multiple first images are processed synchronously to obtain at least one target interface.

[0104] In this embodiment, at least one target interface is obtained by simultaneously processing multiple first images by combining multiple first information. The first images that are gradually displayed and gradually hidden can change at the same time, thereby improving the effect and efficiency of the interface display.

[0105] In one embodiment, such as Figure 3 As shown, the step S220, which processes multiple first images according to a preset order based on multiple first pieces of information to obtain at least one target interface, can also be determined in the following way:

[0106] S221. The first image corresponding to the first window with the starting time as the display state forms the starting interface.

[0107] S222. Based on the states of multiple first windows at the start and end times, at least a portion of the first images are animated to obtain a transition interface formed by at least a portion of the first images with changes in visibility.

[0108] S223. The first image corresponding to the first window with the end time as the display state forms the end interface.

[0109] In this embodiment, since the initial screen needs to be displayed within the first window that is in the initial display state, the first image corresponding to the first window in the initial display state forms the initial interface. To provide a better visual experience for the user, a natural transition is required between the initial and final interfaces, causing some of the first images to gradually hide and others to gradually appear. Based on the states of multiple first windows at the initial and final times, at least some of the first images are animated to obtain a transition interface formed by at least some of the first images with varying visibility. Similarly, to display the screen within the first window that is in the final display state, the first image corresponding to the first window in the final display state forms the final interface. By simultaneously processing multiple first images at different times to form the corresponding target interface, a natural transition from the initial interface to the final interface is achieved, thereby improving the interface display effect.

[0110] For example, the start time refers to the moment when the window begins during the interface switching process. The end time refers to the moment when the window ends during the interface switching process. The start interface can be, for example, a lock screen or an unlock screen, and the end interface can be, for example, an unlock screen or a lock screen.

[0111] For example, steps S221 to S223 can be implemented through a start service, an animation service, and a stop service during execution. The start service, animation service, and stop service can be combined with a synchronization set and multiple first images to obtain multiple target interfaces. In step S221, the first image corresponding to the first window with the start time as its display state forms the start interface, determined as follows: based on the states of multiple first windows in the synchronization set at the start time, a show / hide operation of multiple first windows is submitted in the start service to obtain the start interface formed by the initially visible first image. In step S222, based on the states of multiple first windows at the start and end times, at least some of the first images are animated to obtain a transition interface formed by at least some of the first images with changed visibility, determined as follows: based on the states of multiple first windows in the synchronization set at the start and end times, a processing operation of multiple first images is submitted in the animation service to obtain a transition interface formed by at least some of the first images with changed visibility. The first image corresponding to the first window with the end time as the display state in step S223 forms the end interface by the following method: based on the state of multiple first windows in the synchronization set at the end time, the display and hide operations of multiple first windows are submitted in the end service to obtain the end interface formed by the first image that is visible at the end.

[0112] For example, in step S222, based on the states of multiple first windows at the start and end times, at least a portion of the first images are animated to obtain a transition interface formed by at least a portion of the first images with changing visibility. This can be achieved by gradually changing the first image corresponding to the first window that was displayed at the start time from visible to invisible within a preset time, and by gradually changing the first image corresponding to the first window that was hidden at the start time from invisible to visible within a preset time. For first images that are not animated, they are immediately displayed or hidden.

[0113] For example, in response to a screen lock operation, the desktop wallpaper window and the desktop window are initially displayed, while the lock screen wallpaper window and the lock screen window are hidden. Based on the states of the desktop wallpaper window, the desktop window, the lock screen wallpaper window, and the lock screen window at the start and end times, the first images corresponding to these windows are animated, causing the desktop wallpaper window and the desktop window to gradually hide and the lock screen wallpaper window and the lock screen window to gradually appear. At the end, the desktop wallpaper window and the desktop window are hidden, and the lock screen wallpaper window and the lock screen window are displayed.

[0114] For example, in response to a screen lock operation, the application window is initially displayed, while the lock screen wallpaper window and the lock screen window are hidden. Based on the states of the application window, lock screen wallpaper window, and lock screen window at the start and end times, the first images corresponding to these windows are animated, causing the application window to gradually hide and the lock screen wallpaper window and lock screen window to gradually appear. At the end, the application window is hidden, and the lock screen wallpaper window and lock screen window are displayed.

[0115] For example, in response to an unlock operation, the desktop wallpaper window and desktop window are initially hidden, while the lock screen wallpaper window and lock screen window are displayed. Based on the states of the desktop wallpaper window, desktop window, lock screen wallpaper window, and lock screen window at the start and end times, the first images corresponding to these windows are animated, causing the desktop wallpaper window and desktop window to gradually appear while the lock screen wallpaper window and lock screen window gradually hide. At the end, the desktop wallpaper window and desktop window are displayed, while the lock screen wallpaper window and lock screen window are hidden.

[0116] For example, in response to an unlock operation, the application window is initially hidden, and the lock screen wallpaper window and the lock screen window are displayed. Based on the states of the application window, lock screen wallpaper window, and lock screen window at the start and end times, the first images corresponding to these windows are animated, causing the application window to gradually appear and the lock screen wallpaper window and lock screen window to gradually hide. At the end, the application window is displayed, and the lock screen wallpaper window and lock screen window are hidden.

[0117] It is understandable that step S222 can also be omitted, i.e., no animation processing is performed to generate the transition interface. After the start interface at the start time is formed, the end interface at the end time is formed.

[0118] In one embodiment, the step S220 of processing multiple first images according to a preset order based on multiple first pieces of information to obtain at least one target interface can also be determined in the following way:

[0119] Based on multiple pieces of first information, multiple first images are processed sequentially to obtain at least one target interface.

[0120] In this embodiment, at least one target interface is obtained by processing multiple first images sequentially by combining multiple first information. Some first images are hidden and other first images are displayed to avoid image display disorder, thereby improving the interface display effect.

[0121] For example, the above steps involve processing multiple first images sequentially based on multiple first pieces of information to obtain at least one target interface. This can be achieved by hiding the first image that was in a displayed state at the start time and then displaying the first image that was in a hidden state at the end time.

[0122] In one embodiment, before processing multiple first images in a preset order according to multiple first pieces of information to obtain at least one target interface in step S220, step S200 further includes processing multiple first windows in a preset order according to multiple first pieces of information to obtain at least one target interface:

[0123] Obtain the second information of the second window, which is used to characterize the visibility state of the second window at different times.

[0124] The step S220, which involves processing multiple first images in a preset order based on multiple pieces of first information to obtain at least one target interface, can also be determined in the following way:

[0125] Based on multiple pieces of first and second information, multiple first and second images are processed in a preset order to obtain at least one target interface. The second image is formed by drawing the screen contained in the second window.

[0126] In this embodiment, since information for some windows is only generated after the first image is produced, second information for the second window is obtained after obtaining multiple first images and before obtaining at least one target interface. Based on the multiple first and second information, the multiple first and second images are processed in a preset order to obtain at least one target interface. By obtaining information for different windows in different processing steps, the inability to obtain information for windows that have not yet been generated is avoided, thereby improving the reliability of the interface display.

[0127] For example, the second window can be a window restricted by the system's graphical user interface process. The second information is generated only after multiple first images are obtained and the system's graphical user interface process is entered. The number of second windows can be one or more. In response to a display switching command, the visibility of some windows changes, while the visibility of others remains unchanged. The second window can be a window whose visibility changes, other than the multiple first windows.

[0128] In one embodiment, the process of processing multiple first images and second images in a preset order based on multiple first information and second information to obtain at least one target interface can be determined in the following way:

[0129] Based on multiple pieces of first information and second information, multiple first images and second images are processed synchronously to obtain at least one target interface.

[0130] In this embodiment, at least one target interface is obtained by simultaneously processing multiple first and second images by combining multiple first and second information. The first and second images that are gradually displayed and gradually hidden can change simultaneously, thereby improving the effect and efficiency of the interface display.

[0131] In one embodiment, the second information includes the state of the second window at the start and end times. For example... Figure 4 As shown, the above steps, which process multiple first images and second images in a preset order based on multiple pieces of first and second information to obtain at least one target interface, can also be determined in the following way:

[0132] S224. The starting interface is formed by the images corresponding to the windows in the first and second windows that are displayed at the start time.

[0133] S225. Based on the states of multiple first windows and second windows at the start and end times, at least some of the multiple first images and second images are animated to obtain a transition interface formed by at least some of the images with changes in visibility among the multiple first images and second images.

[0134] S226. An end interface is formed by the images corresponding to the windows in the first and second windows whose display state is the end time.

[0135] In this embodiment, since the initial screen needs to display the images contained in the windows of the first and second windows that are currently displayed, the initial interface is formed using the images corresponding to these windows. To ensure a smooth transition between the initial and final interfaces and provide a better visual experience for the user, some images in the first and second images are gradually hidden while others are gradually shown. Based on the states of the multiple first and second windows at the initial and final moments, at least some images in the multiple first and second images are animated to obtain a transition interface formed by at least some images with varying visibility. Similarly, since the final screen needs to display the images contained in the windows of the first and second windows that are currently displayed, the final interface is formed using the images corresponding to these windows. By creating corresponding target interfaces at different times, a natural transition from the initial interface to the final interface is achieved, thereby improving the overall display effect.

[0136] For example, steps S224 to S226 can be implemented through a start service, an animation service, and a stop service during execution. The start service, animation service, and stop service can be combined with a synchronization set, multiple first images, and multiple second images to obtain multiple target interfaces. In step S224, the image corresponding to the window whose display state is at the start time in multiple first windows and second windows is determined as follows: based on the state of multiple first windows and second windows in the synchronization set at the start time, a show / hide operation is submitted in the start service to obtain the start interface formed by the initially visible image among the multiple first images and second images. In step S225, based on the state of multiple first windows and second windows at the start and end times, at least some images among the multiple first images and second images are animated to obtain a transition interface formed by at least some images with changed visibility among the multiple first images and second images. This is determined as follows: based on the state of multiple first windows and second windows in the synchronization set at the start and end times, a processing operation is submitted in the animation service to obtain a transition interface formed by at least some images with changed visibility among the multiple first images and second images. The image corresponding to the window with the end time of the multiple first windows and second windows in step S226 forming the end interface is determined in the following way: based on the state of the multiple first windows and second windows in the synchronization set at the end time, the display and hide operations of the multiple first windows and second windows are submitted in the end service to obtain the end interface formed by the image that is no longer visible among the multiple first images and second images.

[0137] For example, in step S225, based on the states of the multiple first windows and second windows at the start and end times, at least a portion of the multiple first images and second images are animated to obtain a transition interface formed by at least a portion of the images whose visibility changes. This can be achieved by gradually changing the images corresponding to windows that were initially displayed in the multiple first windows and second windows from visible to invisible within a preset time, and by gradually changing the images corresponding to windows that were initially hidden in the multiple first windows and second windows from invisible to visible within a preset time. For first images and second images that are not animated, they are immediately displayed or hidden.

[0138] For example, in response to a screen lock operation, the desktop wallpaper window and the desktop window are initially displayed, while the lock screen wallpaper window and the lock screen window are hidden. Based on the states of the desktop wallpaper window, the desktop window, the lock screen wallpaper window, and the lock screen window at the start and end times, animation processing is applied to the first image corresponding to the desktop wallpaper window, the desktop window, and the lock screen wallpaper window, as well as the second image corresponding to the lock screen window, so that the desktop wallpaper window and the desktop window gradually hide, and the lock screen wallpaper window and the lock screen window gradually appear. At the end, the desktop wallpaper window and the desktop window are hidden, and the lock screen wallpaper window and the lock screen window are displayed.

[0139] For example, in response to a screen lock operation, the application window is initially displayed, while the lock screen wallpaper window and the lock screen window are hidden. Based on the states of the application window, lock screen wallpaper window, and lock screen window at the start and end times, the first image corresponding to the application window and lock screen wallpaper window, and the second image corresponding to the lock screen window, are animated to gradually hide the application window and gradually display the lock screen wallpaper window and lock screen window. At the end, the application window is hidden, and the lock screen wallpaper window and lock screen window are displayed.

[0140] For example, in response to an unlock operation, the desktop wallpaper window and desktop window are initially hidden, while the lock screen wallpaper window and lock screen window are displayed. Based on the states of the desktop wallpaper window, desktop window, lock screen wallpaper window, and lock screen window at the start and end times, animation processing is applied to the first image corresponding to the desktop wallpaper window, desktop window, and lock screen wallpaper window, and the second image corresponding to the lock screen window, causing the desktop wallpaper window and desktop window to gradually appear and the lock screen wallpaper window and lock screen window to gradually hide. At the end, the desktop wallpaper window and desktop window are displayed, while the lock screen wallpaper window and lock screen window are hidden.

[0141] For example, in response to an unlock operation, the application window is initially hidden, and the lock screen wallpaper window and the lock screen window are displayed. Based on the states of the application window, lock screen wallpaper window, and lock screen window at the start and end times, the first image corresponding to the application window and lock screen wallpaper window, and the second image corresponding to the lock screen window, are animated to gradually show the application window and gradually hide the lock screen wallpaper window and lock screen window. At the end, the application window is displayed, and the lock screen wallpaper window and lock screen window are hidden.

[0142] Understandably, step S225 can also be omitted, meaning no animation processing is performed to generate the transition interface. After the start interface at the start time is formed, the end interface at the end time is formed.

[0143] In one embodiment, the process of processing multiple first images and second images in a preset order based on multiple first information and second information to obtain at least one target interface can also be determined in the following way:

[0144] Based on multiple pieces of first and second information, multiple first and second images are processed sequentially to obtain at least one target interface.

[0145] In this embodiment, at least one target interface is obtained by combining multiple first information and second information to process multiple first images and second images sequentially. Some images are hidden and other images are displayed to avoid image display disorder, thereby improving the interface display effect.

[0146] For example, the above steps of processing multiple first images and second images sequentially based on multiple first information and second information to obtain at least one target interface can be to hide the images in the multiple first images and second images that are in the display state at the start time, and then display the images in the multiple first images and second images that are in the hidden state at the end time.

[0147] In one embodiment, in the transition interface, the images corresponding to windows that were in a hidden state at the end time of the multiple first windows and second windows are gradually hidden, and the images corresponding to windows that were in a displayed state at the end time are gradually displayed.

[0148] In this embodiment, by making the image change gradually, the user can be given a visual representation of animation, thereby improving the effect of the interface display.

[0149] In one embodiment, in the transition interface, the images corresponding to the windows that were in a hidden state at the end time of the multiple first windows and second windows are immediately hidden, while the images corresponding to the windows that were in a displayed state at the end time are gradually displayed.

[0150] In this embodiment, by immediately hiding some images and gradually displaying others, the user can be given a visual representation of animation while reducing the time required for interface changes, thereby improving the effect of interface display.

[0151] In one embodiment, the plurality of first windows includes at least two of a lock screen wallpaper window, a desktop wallpaper window, a desktop window, and an application window. The second window includes the lock screen window.

[0152] In this embodiment, since the lock screen window is only triggered after entering the system's graphical user interface process, the lock screen window information is obtained after obtaining at least two corresponding first images from the lock screen wallpaper window, desktop wallpaper window, desktop window, and application window. By obtaining the lock screen window information after obtaining multiple first images, the inability to obtain the information avoids abnormal lock screen window display, thereby improving the interface display effect.

[0153] In one embodiment, after obtaining the second information of the second window in the above steps, the display method further includes:

[0154] Synchronize the second information to the synchronization set.

[0155] In this embodiment, by synchronizing the second information to the synchronization set, the omission of the second information is avoided, thereby improving the reliability of the interface display.

[0156] In one embodiment, the step S200 of processing multiple first windows according to a preset order based on multiple first pieces of information to obtain at least one target interface can also be determined in the following way:

[0157] Based on the synchronization set, multiple first windows and second windows are processed in a preset order to obtain at least one target interface.

[0158] In this embodiment, multiple first windows and second windows are processed in a preset order by a synchronization set, which avoids the processing of the first and second windows being affected by the non-simultaneous acquisition of the first and second information, thereby improving the reliability of the interface display.

[0159] In one embodiment, the step of processing multiple first images and second images in a preset order based on multiple first information and second information to obtain at least one target interface can also be determined in the following way:

[0160] Based on the synchronization set, multiple first images and second images are processed in a preset order to obtain at least one target interface.

[0161] In this embodiment, multiple first images and second images are processed in a preset order by a synchronous set, which avoids the first images and second images being displayed out of order due to the first information and the second information not being acquired at the same time, thereby improving the reliability of the interface display.

[0162] In one embodiment, at least one target interface includes a start interface, a transition interface, and an end interface. The display of at least one target interface in step S300 is determined as follows:

[0163] The target interface is displayed frame by frame in the order of start screen, transition screen, and end screen.

[0164] In this embodiment, by displaying the target interface frame by frame, the interface can gradually transition from the starting interface to the ending interface, thereby improving the display effect.

[0165] For example, the above steps of displaying the target interface frame by frame in the order of start interface, transition interface, and end interface can be implemented by starting from the start interface, displaying the transition interface frame by frame, and so on until the end interface is displayed. During the process of displaying the target interface frame by frame, one frame of the target interface can be displayed after each target interface is formed. Alternatively, the target interface can be displayed frame by frame after the end interface is formed.

[0166] This disclosure provides a display method, such as... Figure 5 As shown, the method includes:

[0167] S400: In response to screen lock or unlock operations, create a synchronized collection.

[0168] S410, Obtain the state of multiple first windows whose visibility changes at the start and end times, including the desktop wallpaper window, desktop window, lock screen wallpaper window, and application window.

[0169] S420. Synchronize the states of multiple first windows at the start and end times to the synchronization set.

[0170] S430. Obtain the image corresponding to the first window that is in the display state at the start time, and draw the screen contained in the first window that is in the display state at the end time, so as to obtain multiple first images of multiple first windows.

[0171] S440. In response to a change in the visibility of the lock screen window, obtain the state of the lock screen window whose visibility has changed as a second window at the start and end times.

[0172] S450. Synchronize the state of the second window at the start and end times to the synchronization set.

[0173] S460. The starting interface is formed by the image corresponding to the window whose starting time in the synchronization set is the display state and is displayed.

[0174] S470. Based on the synchronization set, at least some of the images in the plurality of first images and second images are animated to obtain a transition interface formed by at least some of the images in the plurality of first images and second images with visibility changes, and then the interface is displayed.

[0175] S480: The image corresponding to the window whose display state is the end time in the synchronization set is used to form a lock screen interface or unlock screen and display it.

[0176] In this embodiment, in response to screen locking or unlocking operations, a transition from the initial interface to the lock screen or unlock interface is required. A synchronization set is created to synchronize window information. The states of multiple first windows whose visibility changes at the initial and final times are obtained from the desktop wallpaper window, desktop window, lock screen wallpaper window, and application window. These states are synchronized to the synchronization set to obtain the state changes of the multiple first windows. The image corresponding to the first window in the displayed state at the initial time is obtained, and the screen contained in the first window in the displayed state at the final time is drawn, resulting in multiple first images of the multiple first windows, thus obtaining the image displayed at the start or the image displayed at the end. In response to a change in the visibility of the lock screen window, the initial and final times of the lock screen window whose visibility changes as a second window are obtained, and the states of the second window in the initial and final times are synchronized to the synchronization set. The initial interface is formed using the image corresponding to the window in the displayed state at the initial time from the synchronization set, thus obtaining the interface to be displayed initially and displaying it. Based on the synchronization set, at least a portion of the multiple first images and second images are animated to obtain a transition interface formed by at least a portion of the images whose visibility changes, and this is then displayed. The lock screen or unlock screen is formed by using the image corresponding to the window whose display state is at the end time in the synchronization set, so as to obtain the interface to be displayed when the end is reached. By processing multiple first windows and second windows synchronously to obtain the target interface, the abnormal interface display caused by the calling order problem when processing each first window and second window individually is avoided, thereby improving the interface display effect.

[0177] Exemplarily, the overall flow of the display method provided in the embodiments of this disclosure will be described. For example... Figure 6As shown, in response to screen lock or unlock operations, a synchronization set is created. The visibility of the desktop wallpaper window and lock screen wallpaper window is updated via the wallpaper controller. The visibility of the desktop window and application window is updated via the window management service. The states of multiple first windows whose visibility changes in the desktop wallpaper window, lock screen wallpaper window, desktop window, and application window are synchronized to the synchronization set at the start and end times. The images contained in the multiple first windows whose visibility changes in the desktop wallpaper window, lock screen wallpaper window, desktop window, and application window are drawn, resulting in multiple first images. After entering the system graphical user interface process, the target interface is formed and displayed through start, animation, and end services. In the start service, in response to a change in the visibility of the lock screen window, the state of the lock screen window (which serves as a second window) is synchronized to the synchronization set at the start and end times. Based on the start time of the synchronization set, the show / hide operations of multiple first and second windows are submitted, resulting in a start interface formed by the initially visible image among the multiple first and second images. In the animation process, based on the start and end times of the synchronization set, processing operations on multiple first and second images are submitted to obtain a transition interface formed by at least a portion of the images whose visibility has changed. In the termination process, based on the end time of the synchronization set, show and hide operations on multiple first and second windows are submitted to obtain a lock screen or unlock screen formed by the image that is no longer visible among the multiple first and second images. The show / hide of desktop windows and desktop wallpaper windows, and the show / hide of application windows, can be represented through two paths.

[0178] In one exemplary embodiment, a display device is provided for implementing the method described above. (Reference) Figure 7 As shown, the display device may include an acquisition module 100, a processing module 200, and a display module 300. During the implementation of the above method,

[0179] The acquisition module 100 is configured to acquire first information of multiple first windows in response to a display switching command. The first information is used to characterize the visible state of the first windows at different times.

[0180] The processing module 200 is configured to process multiple first windows in a preset order based on multiple first pieces of information to obtain at least one target interface.

[0181] Display module 300 is configured to display at least one target interface.

[0182] In one exemplary embodiment, a display device is provided, wherein a processing module 200 is configured to:

[0183] Get the image corresponding to the first window that is in the display state at the start time, and draw the screen contained in the first window that is in the display state at the end time, so as to obtain multiple first images of multiple first windows.

[0184] Based on multiple pieces of first information, multiple first images are processed in a preset order to obtain at least one target interface.

[0185] In one exemplary embodiment, a display device is provided, wherein a processing module 200 is configured to:

[0186] The first image corresponding to the first window whose display state is at the start time forms the starting interface.

[0187] Based on the states of multiple first windows at the start and end times, at least a portion of the first images are animated to obtain a transition interface formed by at least a portion of the first images with changes in visibility.

[0188] The first image corresponding to the first window whose display state is the end time forms the end interface.

[0189] In one exemplary embodiment, a display device is provided, wherein an acquisition module 100 is configured to:

[0190] Obtain the second information of the second window, which is used to characterize the visibility state of the second window at different times.

[0191] In one exemplary embodiment, a display device is provided, wherein a processing module 200 is configured to:

[0192] Based on multiple pieces of first and second information, multiple first and second images are processed in a preset order to obtain at least one target interface. The second image is formed by drawing the screen contained in the second window.

[0193] In one exemplary embodiment, a display device is provided, wherein a processing module 200 is configured to:

[0194] The starting interface is formed by the images corresponding to the windows in the first and second windows that are displayed at the start time.

[0195] Based on the states of multiple first windows and second windows at the start and end times, at least some of the multiple first images and second images are animated to obtain a transition interface formed by at least some of the images with changes in visibility among the multiple first images and second images.

[0196] The final interface is formed by the images corresponding to the windows whose display state is the end time of multiple first and second windows.

[0197] In one exemplary embodiment, a display device is provided, the device further comprising:

[0198] Create a module that is configured to create synchronized collections.

[0199] The synchronization module is configured to synchronize multiple first pieces of information to a synchronization set.

[0200] Synchronize the second information to the synchronization set.

[0201] In one exemplary embodiment, a display device is provided, wherein a processing module 200 is configured to:

[0202] Based on the synchronization set, multiple first images and second images are processed in a preset order to obtain at least one target interface.

[0203] In one exemplary embodiment, a display device is provided, wherein a display module 300 is configured to:

[0204] The target interface is displayed frame by frame in the order of start screen, transition screen, and end screen.

[0205] In one exemplary embodiment, an electronic device is provided, such as a mobile phone, a laptop computer, a tablet computer, and a wearable device.

[0206] refer to Figure 8 As shown, the electronic device 400 may include one or more of the following components: processing component 402, memory 404, power supply component 406, multimedia component 408, audio component 410, input / output (I / O) interface 412, sensor component 414, and communication component 416.

[0207] Processing component 402 typically controls the overall operation of electronic device 400, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 402 may include one or more processors 420 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 402 may include one or more modules to facilitate interaction between processing component 402 and other components. For example, processing component 402 may include a multimedia module to facilitate interaction between multimedia component 408 and processing component 402.

[0208] Memory 404 is configured to store various types of data to support the operation of electronic device 400. Examples of this data include instructions for any application or method operating on electronic device 400, contact data, phonebook data, messages, pictures, videos, etc. Memory 404 can be implemented by any type of volatile or non-volatile storage terminal or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0209] Power supply component 406 provides power to various components of electronic device 400. Power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 400.

[0210] Multimedia component 408 includes a screen that provides an output interface between electronic device 400 and user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 408 includes a front-facing camera module and / or a rear-facing camera module. When electronic device 400 is in an operating mode, such as shooting mode or video mode, the front-facing camera module and / or rear-facing camera module may receive external multimedia data. Each front-facing camera module and rear-facing camera module may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0211] Audio component 410 is configured to output and / or input audio signals. For example, audio component 410 includes a microphone (MIC) configured to receive external audio signals when electronic device 400 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 404 or transmitted via communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.

[0212] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0213] Sensor assembly 414 includes one or more sensors for providing state assessments of various aspects of electronic device 400. For example, sensor assembly 414 may detect the on / off state of electronic device 400, the relative positioning of components such as the display and keypad of electronic device 400, changes in position of electronic device 400 or a component of electronic device 400, the presence or absence of user contact with electronic device 400, orientation or acceleration / deceleration of electronic device 400, and temperature changes of electronic device 400. Sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 414 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0214] Communication component 416 is configured to facilitate wired or wireless communication between electronic device 400 and other terminals. Electronic device 400 can access wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G, 5G, or combinations thereof. In one exemplary embodiment, communication component 416 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 416 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0215] In an exemplary embodiment, the electronic device 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing terminals (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods shown in the above embodiments or combinations thereof.

[0216] In one exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, which can be executed by a processor 420 of an electronic device 400 to perform the methods shown in the embodiments or combinations thereof. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage terminal, etc. When the instructions in the storage medium are executed by the processor of the terminal, the terminal is able to perform the methods shown in the embodiments or combinations thereof.

[0217] In one exemplary embodiment, a computer program product is provided, including a computer program or instructions that, when executed by a processor, implement the display method as described above.

[0218] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.

[0219] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this disclosure. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0220] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this disclosure, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0221] It should be understood that the various forms of processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

[0222] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A display method, characterized in that, The display method includes: In response to a display switching command, first information of multiple first windows is obtained, wherein the first information is used to characterize the visible state of the first window at different times; Based on the plurality of first information, the plurality of first windows are processed in a preset order to obtain at least one target interface; Display at least one of the target interfaces.

2. The display method according to claim 1, characterized in that, The first information includes the state of the first window at the start and end times; The step of processing the plurality of first windows in a preset order according to the plurality of first information to obtain at least one target interface includes: The image corresponding to the first window that is in the display state at the start time is obtained, and the screen contained in the first window that is in the display state at the end time is drawn to obtain multiple first images of the multiple first windows; Based on the plurality of first information, the plurality of first images are processed in the preset order to obtain at least one target interface.

3. The display method according to claim 2, characterized in that, The step of processing the plurality of first images according to the plurality of first information in the preset order to obtain at least one target interface includes: The first image corresponding to the first window with the starting time as the display state forms the starting interface; Based on the states of the plurality of first windows at the start and end times, at least a portion of the first images are animated to obtain a transition interface formed by at least a portion of the first images with changes in visibility. The first image corresponding to the first window with the end time as the display state forms the end interface.

4. The display method according to claim 2, characterized in that, Before processing the plurality of first images according to the plurality of first information in the preset order to obtain at least one target interface, the step of processing the plurality of first windows according to the plurality of first information in the preset order to obtain at least one target interface further includes: Obtain second information of the second window, which is used to characterize the visibility state of the second window at different times; The step of processing the plurality of first images according to the plurality of first information in the preset order to obtain at least one target interface includes: Based on the plurality of first information and the second information, the plurality of first images and the second images are processed in the preset order to obtain at least one target interface, wherein the second image is formed by drawing the screen contained in the second window.

5. The display method according to claim 4, characterized in that, The second information includes the state of the second window at the start and end times; the step of processing the plurality of first images and second images in the preset order according to the plurality of first information and the second information to obtain at least one target interface includes: The starting interface is formed by the images corresponding to the windows in the plurality of first windows and the second windows that are in the display state at the start time; Based on the states of the plurality of first windows and the second window at the start and end times, at least a portion of the plurality of first images and the second images are animated to obtain a transition interface formed by at least a portion of the plurality of first images and the second images with changes in visibility. An end interface is formed by the images corresponding to the windows whose display state is the end time in the plurality of first windows and second windows.

6. The display method according to claim 5, characterized in that, In the transition interface, the images corresponding to the windows that were in a hidden state at the end time of the plurality of first windows and second windows are gradually hidden, and the images corresponding to the windows that were in a displayed state at the end time are gradually displayed.

7. The display method according to claim 5, characterized in that, In the transition interface, the images corresponding to the windows that were in a hidden state at the end time of the plurality of first windows and second windows are immediately hidden, while the images corresponding to the windows that were in a displayed state at the end time are gradually displayed.

8. The display method according to claim 4, characterized in that, The plurality of first windows includes at least two of a lock screen wallpaper window, a desktop wallpaper window, a desktop window, and an application window; the second window includes a lock screen window.

9. The display method according to claim 4, characterized in that, In response to the display switching instruction, the display method further includes: Create a synchronized collection; After acquiring the first information of the multiple first windows, the display method further includes: Synchronize the plurality of first information to the synchronization set; After obtaining the second information of the second window, the display method further includes: The second information is synchronized to the synchronization set.

10. The display method according to claim 9, characterized in that, The step of processing the plurality of first images and second images in a preset order according to the plurality of first information and second information to obtain at least one target interface includes: According to the synchronization set, the plurality of first images and second images are processed in the preset order to obtain at least one target interface.

11. The display method according to any one of claims 1 to 10, characterized in that, At least one of the target interfaces includes a start interface, a transition interface, and an end interface; displaying at least one of the target interfaces includes: The target interface is displayed frame by frame in the order of the starting interface, the transition interface, and the ending interface.

12. A display device, characterized in that, The display device includes: The acquisition module is configured to acquire first information of a plurality of first windows in response to a display switching command, wherein the first information is used to characterize the visible state of the first windows at different times. A processing module is configured to process the plurality of first windows in a preset order according to the plurality of first information to obtain at least one target interface; A display module is configured to display at least one of the target interfaces.

13. The display device according to claim 12, characterized in that, The first information includes the state of the first window at the start and end times; the processing module is configured to: The image corresponding to the first window that is in the display state at the start time is obtained, and the screen contained in the first window that is in the display state at the end time is drawn to obtain multiple first images of the multiple first windows; Based on the plurality of first information, the plurality of first images are processed in the preset order to obtain at least one target interface.

14. The display device according to claim 13, characterized in that, The acquisition module is configured to: Obtain second information of the second window, which is used to characterize the visibility state of the second window at different times; The processing module is configured to: Based on the plurality of first information and the second information, the plurality of first images and the second images are processed in the preset order to obtain at least one target interface, wherein the second image is formed by drawing the screen contained in the second window.

15. An electronic device, characterized in that, The electronic device includes: processor; Memory used to store the processor's executable instructions; The processor is configured to perform the display method as described in any one of claims 1 to 11.

16. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the terminal, the terminal is able to perform the display method as described in any one of claims 1 to 11.

17. A computer program product comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by the processor, they implement the display method as described in any one of claims 1 to 11.