Electronic equipment and display method thereof

By superimposing the high-priority second image data on the e-ink screen into the first image data frame that is not sent for display, the problem of display delay on the e-ink screen is solved, faster content display is achieved, and user experience is improved. experience.

CN118588028APending Publication Date: 2024-09-03HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310237998.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-03
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The low display frame rate of the e-ink screen causes display delays and affects the user experience. Especially when content needs to be displayed in real time, it is necessary to wait for the display of the previous image frame to be completed before starting to display the next image frame, resulting in a delay of about 500ms.

Method used

By superimposing the display frame of the second image data with high display priority into the unsent display frame of the first image data that has not yet been fully displayed, the first image data being displayed is involved in advance so that it can be displayed in time, Reduce display latency.

Benefits of technology

It effectively reduces the display delay of the e-ink screen and improves the user experience. Especially when operations that require quick response, high-priority layer content can be displayed in a timely manner.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118588028A
    Figure CN118588028A
Patent Text Reader

Abstract

The invention relates to the technical field of terminal equipment, in particular to electronic equipment and a display method thereof, and the display method comprises the following steps: displaying an Mth frame of first display frame in N frames of first display frames of first image data, and obtaining second image data displayed after the first image data, confirming that the display priority of the second image data meets a preset condition; superposing at least one second display frame in P second display frames of the second image data on at least one first display frame in (M + 1) th to Nth first display frames to obtain T third display frames; and displaying the T-frame third display frame. The second display frame corresponding to the second image data covers the first display frame which corresponds to the first image data and is not sent and displayed completely, so that the second display frame of the second image data can participate in the first display frame corresponding to the first image data which is being displayed in advance, and the display time delay is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of terminal devices, and more particularly to an electronic device and a display method thereof. Background Art

[0002] The electronic ink screen is the screen of an electronic device that uses electronic ink. The electronic ink screen can present black or white effects similar to printed text and is mainly used in electronic devices used as readers.

[0003] Compared with the capacitive screen or LCD screen of general electronic devices, the display frame rate of the electronic ink screen is much slower. For example, the display frame rate of the screen of a mobile phone or tablet can be 60 frames / s, that is, the time to display one image frame is 16.7ms, while the display frame rate of the electronic ink screen can be 1.8 frames / s, that is, the time to display one image frame is 550ms. Therefore, when the operating system of the electronic device equipped with the electronic ink screen continuously generates and displays multiple image frames, the display of each image frame needs to wait until the display of the previous image frame is completed before it can start to display. Taking the display frame rate of 1.8 frames / s as an example, for content that needs to be displayed immediately in real time, if the previous image frame has just started to be displayed, it is necessary to wait for nearly 500ms, causing display delays on the electronic ink screen, affecting the user experience. Summary of the invention

[0004] The present application provides an electronic device and a display method thereof.

[0005] In a first aspect, an embodiment of the present application provides a display method, which is applied to an electronic device, and the method includes:

[0006] Display the Mth first display frame among N first display frames of the first image data, where 1≤M≤N, and obtain the second image data displayed after the first image data, and confirm that the display priority of the second image data meets the preset condition; superimpose at least one second display frame among P second display frames of the second image data on at least one first display frame from the M+1th to the Nth first display frames to obtain a T-frame third display frame; and display the T-frame third display frame.

[0007] In an embodiment of the present application, the first image data and the second image data here may include layers of image frames (RGB frames), and the first display frame and the second display frame may include waveform frames (display frames of the ink screen). If the electronic device wants to complete the transmission and display of the first image data and the second image data on the electronic ink screen, it is necessary to perform format conversion of the first image data into multiple first display frames and second display frames, and then send them to the screen for display according to the display frame rate of the electronic ink screen. The first image data can be converted into multiple frames of first display frames, and the second image data can be converted into multiple frames of second display frames. The display priority of the second image data meets the preset conditions and may include that the display priority of the layer corresponding to the second image data is higher than other layers, and higher than the layer corresponding to the first image data. The second image data here can be called a super layer. The second display frame of the second image data is superimposed on the first display frame (waveform frame that has not yet been displayed) among the multiple first display frames of the first image data and then sent to the electronic ink screen for display. For example, the first image data can be converted into N first display frames, and the second image data can be converted into P second display frames. The electronic device has displayed M first display frames out of the N frames, that is, there are NM first display frames that have not yet been displayed. The P second display frames of the second image data are superimposed on the M+1 to N first display frames in sequence, starting from the 1st second display frame, to display the superimposed third display frame. The third display frame includes the display contents of the first display frame and the second display frame. The third display frame can have T frames.

[0008] It can be seen that by overwriting the first display frame corresponding to the first image data that has not been displayed yet with the second display frame corresponding to the second image data, the second display frame of the second image data can be enabled to participate in advance in the first display frame corresponding to the first image data being displayed, so that the display content of the second image data (super layer) with a higher display priority can be displayed in the electronic ink screen in time, thereby reducing the display delay.

[0009] In a possible implementation of the first aspect above, the screen of the electronic device includes an electronic ink screen.

[0010] In an embodiment of the present application, the screen of the electronic device may include an electronic ink screen, and the display frame rate of the electronic ink screen is low.

[0011] In a possible implementation of the first aspect above, the first image data includes a layer of an application window image corresponding to the application window.

[0012] In an embodiment of the present application, the first image data and the second image data here may be layers included in the application image corresponding to the window of the application of the electronic device, and the layers here may include display data such as text, graphics, colors or controls displayed in the application window (also referred to as display elements).

[0013] In a possible implementation of the first aspect, confirming that the display priority of the second image data meets a preset condition includes:

[0014] When the second image data belongs to at least one of a layer included in a window corresponding to a preset application or a layer generated in response to a preset gesture performed by a user, it is determined that the display priority of the second image data meets a preset condition.

[0015] In a possible implementation of the first aspect above, the preset application includes a system security application, and the preset gesture includes a full-screen gesture.

[0016] In an embodiment of the present application, the preset applications and preset gestures here may be applications that include super layers and gestures that generate super layers, such as system security applications or full-screen gesture and manual effect layers, floating balls and other windows / layers.

[0017] In a possible implementation of the first aspect, P≤NM, P=T, and

[0018] The method of superimposing at least one second display frame of the P frame second display frame of the second image data on at least one first display frame of the M+1th to Nth first display frames to obtain a T frame third display frame includes:

[0019] The P frame second display frame of the second image data is sequentially superimposed on the first P frame first display frames from the M+1th to the Nth first display frames to obtain a T frame third display frame; and

[0020] The method further includes: displaying the latter NMP first display frames of the N first display frames of the first image data.

[0021] In the embodiment of the present application, P≤NM here includes that the number of frames P of the second display frame of the second image data is less than or equal to the number of frames NM of the first display frame of the second image data that has not been displayed in the first display frame. At this time, the number of frames T of the third display frame corresponding to the second display frame superimposed with the first display frame is equal to P, that is, each second display frame in the P frame second display frame of the second image data is superimposed on the first P frame first display frame in the M+1 to N frame first display frames of the first image data to obtain T frame third display frames. If P is exactly equal to NM, each second display frame in the P frame second display frame is superimposed on each first display frame in the M+1 to N frame first display frames; if P is less than NM, the latter NMP frames in the N frame first display frames are superimposed on the P frame second display frame in the P frame second display frame.

[0022] In a possible implementation of the first aspect, P>NM, and

[0023] The method of superimposing at least one second display frame of the P frame second display frame of the second image data on at least one first display frame of the M+1th to Nth first display frames to obtain a T frame third display frame includes:

[0024] The first NM second display frames in the P frame second display frame of the second image data are sequentially superimposed on the M+1th to Nth first display frames to obtain a T frame third display frame.

[0025] In the embodiment of the present application, P>NM here includes that the frame number P of the second display frame of the second image data is greater than the frame number NM of the first display frame of the first display frame in which the second image data has not yet been displayed. At this time, the NM second display frames in the P frame second display frames are superimposed on each of the first display frames in the M+1 to Nth first display frames to obtain T=NM frame third display frames.

[0026] In a possible implementation of the first aspect, after displaying the third display frame of the T frame, the method further includes:

[0027] After the third display frame of the T frame is displayed, the second display frame of the next P-N+M frames in the second display frame of the P frame is displayed.

[0028] In an embodiment of the present application, the frame number P of the second display frame of the second image data is greater than the frame number NM of the first display frame of the first display frame in which the second image data has not yet been displayed. After the display of the third display frame T=NM frames is completed, the second display frame after the P-N+M frames in the P frame second display frame continues to be displayed, that is, the second display frame after the P-N+M frames in the P frame second display frame that is not superimposed on the first display frame is displayed.

[0029] In a possible implementation of the first aspect, the present invention further includes:

[0030] If the size of the second display frame is smaller than the size of the first display frame, the display content of the second display frame is located in a partial area of ​​the third display frame.

[0031] In the embodiment of the present application, the second display frame here may be superimposed on a local area of ​​the first display frame.

[0032] In a second aspect, an embodiment of the present application provides a display method, which is applied to an electronic device, and the method includes:

[0033] A first operation of a user on a screen of an electronic device is detected; in response to the first operation, first image data is started to be displayed; before the first image data is completely displayed, a second operation of the user on the screen is detected; in response to the second operation, second image data corresponding to the second operation is displayed.

[0034] In an embodiment of the present application, the first operation and the second operation here may be gesture operations performed by a user on the screen of an electronic device. Since the display frame rate of the electronic ink screen of the electronic device is low, when the first image data has not yet been displayed, the electronic device needs to respond to the second operation and preferentially display the second image data corresponding to the second operation. The second operation here may include a gesture operation to generate a super layer, such as a full-screen gesture.

[0035] In a possible implementation of the second aspect above, the screen of the electronic device includes an electronic ink screen.

[0036] In a possible implementation of the second aspect, a display size of the second image data is greater than or equal to a display size of the first image data; and

[0037] In response to the second operation, displaying second image data corresponding to the second operation includes:

[0038] The second image data is displayed, wherein a second displayed image of the second image data overlays the first displayed image of the first image data.

[0039] In the embodiment of the present application, when the first image data has not been displayed, the electronic device needs to display the second display image in a covering manner first, so that the second image data can be included in the first image data being displayed in advance, so that the display content of the second image data can be displayed in the electronic ink screen in time, reducing the display delay.

[0040] In a possible implementation of the second aspect above, the first image data includes at least one of the following: an application interface of a reading application, a browser application, and an image application of the electronic device.

[0041] In a possible implementation of the second aspect, the first operation includes at least one of the following: a page turning operation, a click operation, a slide operation, and a back operation.

[0042] In a possible implementation of the second aspect, the display size of the second image data is smaller than the display size of the first image data, and in response to the second operation; and in response to the second operation, displaying the second image data corresponding to the second operation includes:

[0043] The second image data is displayed, wherein a second display image of the second image data is located in a local area of ​​the first display image of the first image data.

[0044] In the embodiment of the present application, the second display image here may be superimposed on a local area of ​​the first display image of the first image data.

[0045] In a possible implementation of the second aspect, in response to the first operation, starting to display the first image data includes:

[0046] The Mth first display frame among N first display frames of the first image data is displayed, wherein 1≤M≤N.

[0047] In an embodiment of the present application, the first image data here can be converted into N first display frames, and the electronic device has displayed M first display frames among the N frames, that is, there are NM first display frames that have not yet been displayed.

[0048] In a possible implementation of the second aspect, in response to the second operation, displaying second image data corresponding to the second operation includes:

[0049] Acquire the second image data corresponding to the first operation, and confirm that the display priority of the second image data meets the preset conditions; superimpose at least one second display frame in the P frame second display frame of the second image data on at least one first display frame from the M+1th to the Nth frame first display frame to obtain a T frame third display frame; display the T frame third display frame.

[0050] In an embodiment of the present application, the second image data can be converted into P second display frames, and the P second display frames of the second image data are superimposed on the M+1th to Nth first display frames in sequence, starting from the 1st second display frame, to display a third display frame after superposition. The third display frame includes the display contents of the first display frame and the second display frame, and the third display frame can have T frames.

[0051] In a possible implementation of the second aspect, P≤NM, P=T, and at least one second display frame of the P-frame second display frames of the second image data is superimposed on at least one first display frame of the M+1th to Nth first display frames to obtain a T-frame third display frame, including:

[0052] The P frame second display frame of the second image data is sequentially superimposed on the first P frame first display frame in the M+1th to Nth frame first display frames to obtain a T frame third display frame; and the method also includes: displaying the last NMP frame first display frame in the Nth frame first display frames of the first image data.

[0053] In the embodiment of the present application, P≤NM here includes that the number of frames P of the second display frame of the second image data is less than or equal to the number of frames NM of the first display frame of the second image data that has not been displayed in the first display frame. At this time, the number of frames T of the third display frame corresponding to the second display frame superimposed with the first display frame is equal to P, that is, each second display frame in the P frame second display frame of the second image data is superimposed on the first P frame first display frame in the M+1 to N frame first display frames of the first image data to obtain T frame third display frames. If P is exactly equal to NM, each second display frame in the P frame second display frame is superimposed on each first display frame in the M+1 to N frame first display frames; if P is less than NM, the latter NMP frames in the N frame first display frames are superimposed on the P frame second display frame in the P frame second display frame.

[0054] In a possible implementation of the second aspect above, P>NM, and at least one second display frame of the P second display frames of the second image data is superimposed on at least one first display frame of the M+1th to Nth first display frames to obtain T frame third display frames, including: superimposing the first NM second display frames of the P frame second display frames of the second image data on the M+1th to Nth first display frames in sequence to obtain T frame third display frames.

[0055] In the embodiment of the present application, P>NM here includes that the frame number P of the second display frame of the second image data is greater than the frame number NM of the first display frame of the first display frame in which the second image data has not yet been displayed. At this time, the NM second display frames in the P frame second display frames are superimposed on each of the first display frames in the M+1 to Nth first display frames to obtain T=NM frame third display frames.

[0056] In a possible implementation of the second aspect, after displaying the third display frame of the T frame, the method further includes:

[0057] After the third display frame of the T frame is displayed, the second display frame of the next P-N+M frames in the second display frame of the P frame is displayed.

[0058] In an embodiment of the present application, the frame number P of the second display frame of the second image data is greater than the frame number NM of the first display frame of the first display frame in which the second image data has not yet been displayed. After the display of the third display frame T=NM frames is completed, the second display frame after the P-N+M frames in the P frame second display frame continues to be displayed, that is, the second display frame after the P-N+M frames in the P frame second display frame that is not superimposed on the first display frame is displayed.

[0059] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0060] a memory for storing instructions to be executed by one or more processors of the electronic device, and

[0061] The processor is one of the processors of the electronic device and is used to execute the display method of the first aspect and the second aspect.

[0062] In a fourth aspect, an embodiment of the present application provides a computer program product, including: a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium containing a computer program code for executing the display method of the first aspect and the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1a to Figure 1b A schematic diagram of a scenario in which an electronic device 100 equipped with an electronic ink screen implements content display according to an embodiment of the present application;

[0064] Figure 2a A schematic diagram of an electronic device equipped with an electronic ink screen according to an embodiment of the present application converting an RGB frame into a waveform frame for display;

[0065] Figure 2b A schematic diagram of layer superposition provided in an embodiment of the present application;

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

[0067] Figure 4 A software structure block diagram of an electronic device provided in an embodiment of the present application;

[0068] Figure 5 A schematic diagram of a flow chart of a display method provided in an embodiment of the present application;

[0069] Figure 6 A schematic diagram of a display method provided in an embodiment of the present application;

[0070] Figures 7a to 7c A schematic diagram of a superimposed super layer provided in an embodiment of the present application;

[0071] Figures 8a to 8cA schematic diagram of a superimposed super layer provided in an embodiment of the present application;

[0072] Fig. 9 a to Fig. 9 b is a schematic diagram of a scenario in which an electronic device 100 equipped with an electronic ink screen implements content display according to an embodiment of the present application;

[0073] Fig.10 a to Fig.10 b is a schematic diagram of a scenario in which an electronic device 100 equipped with an electronic ink screen realizes content display according to an embodiment of the present application. DETAILED DESCRIPTION

[0074] The technical solutions in the embodiments of the present application will be described clearly and in detail below with reference to the accompanying drawings.

[0075] refer to Figure 1a to Figure 1b , Figure 1a to Figure 1b A schematic diagram of a scenario in which an electronic device 100 equipped with an electronic ink screen implements content display according to an embodiment of the present application is exemplarily shown.

[0076] like Figure 1a As shown, the electronic device 100 displays a user interface 110, and the user interface 110 displays the content on the screen of the electronic device 100. The user interface 110 displays an application interface 111 of a reading application installed on the electronic device 100. The application interface 111 of the reading application lists controls corresponding to multiple books, such as: book control 112 and book control 113. When the electronic device 100 receives an operation performed by the user in the user interface 110, such as: a click operation performed by the user on the book control 112, in response to the operation, the electronic device 100 displays Figure 1b The user interface 120 of the screen of the electronic device 100 is shown. The user interface 120 displays a reading interface 121 of a reading application, and the application interface 121 displays the reading content corresponding to the book control 112 .

[0077] When the electronic device 100 receives an operation performed by the user in the user interface 121, for example, a user slides inwards on the left edge of the user interface 121 of the electronic device 100, the electronic device 100 responds to the operation after at least 500 ms, and returns Figure 1a The user interface 110 shown. That is, the electronic device 100 returns to the previous interface.

[0078] Understandably, Figure 1a to Figure 1b The user interface 110 and the user interface 120 of the screen of the electronic device 100 are merely illustrative and should not be construed as limiting the embodiments of the present application.

[0079] It can be seen that through the above Figure 1a to Figure 1bFrom the process of realizing content display by the electronic device described, it can be seen that when the user performs an operation on the electronic device 100 and causes the electronic device 100 to return from the application interface 121 to the application interface 111, the electronic device 100 does not immediately return to display the application interface 111, but displays the application interface 111 after a delay. That is, the electronic device 100 needs to wait for the image frame corresponding to the application interface 121 to be displayed before displaying the image frame corresponding to the operation performed by the user. If the image frame corresponding to the application interface 121 has just been displayed, there will be a delay in the process of the electronic device 100 returning to the application interface 111 after the user performs an operation on the electronic device 100.

[0080] In some embodiments, Figure 1a to Figure 1b The electronic device 100 configured with an electronic ink screen has a display delay. This is because in order for the electronic device 100 to complete the display of an image frame (RGB frame) on the electronic ink screen, it is necessary to perform a format conversion from 1 RGB frame to N waveform frames (display frames of the ink screen), and then send them to the screen at the display frame rate of the electronic ink screen. After the N waveform frames corresponding to 1 RGB frame are completely displayed in sequence, 1 RGB frame is considered to have completed display.

[0081] The RGB frame, or image frame, here refers to the application image corresponding to the application window of the electronic device. The application image is composed of one or more layers, and the layers here may include display data such as text, graphics, colors or controls displayed in the application window (also called display elements). The drawing and synthesis service module (SurfaceFlinger) of the operating system of the electronic device draws and synthesizes one or more layers in the windows of one or more applications to obtain an image frame. After the image frame is sent to the screen of the electronic device, the screen displays the frame data of the image frame. One RGB frame can correspond to one frame of application image.

[0082] In some embodiments, the Waveform frame here refers to a unique frame format of the electronic ink screen, that is, frame data sent to the electronic ink screen for display. The Waveform frame needs to be sent for display according to the display frame rate of the electronic ink screen.

[0083] Reference below Figure 2a , Figure 2a The schematic diagram exemplarily shows that an electronic device 100 equipped with an electronic ink screen provided in some embodiments of the present application converts an RGB frame into a waveform frame for display.

[0084] like Figure 2aAs shown, in some embodiments, the operating system of the electronic device 100 may include the following functional modules, for example: a drawing and synthesis service module 101 (SurfaceFlinger), an ink screen display management module 102 (SWTCON), an ink screen parameter management table 103 (Waveform Table), a synthesis display module 104 (HWC, hwcomposer) and a display screen driver module 105 (DSI Driver).

[0085] In some embodiments, the drawing and composition service module 101 (SurfaceFlinger) is used to draw and composite the application image (RGB frame) corresponding to the application of the electronic device 100. The drawing and composition service module 101 can use OpenGL ES (OpenGL for Embedded Systems) to draw the layer corresponding to the composite application through a GPU (graphics processing unit).

[0086] In some embodiments, the ink screen display management module 102 (SWTCON) is used to realize the conversion of RGB frames to Waveform frames and the display control of Waveform frames. For example, one RGB frame needs to be converted into N Waveform frames, and the display frame rate of each Waveform frame is the refresh rate of the electronic ink screen, that is, the hardware parameters of the electronic ink screen. For example, the display frame rate here can be 85Hz (Hertz), that is, 11.76ms per frame. N is determined by the display mode of the electronic ink screen, and N is different for different display modes, such as reading mode (comics, PDF documents, etc.), mixed mode (video browsing), browsing mode (web browsing), fast reading mode (normal reading + menu display) and fast text and image refresh mode, etc. The display frame rates corresponding to the above display modes can be 1.8 frames / s, 8-11 frames / s, 3-5 frames / s, 1.8 frames / s and 8-11 frames / s, etc. In the process of converting RBG frames into N Waveform frames, the generation of each Waveform frame needs to be generated by looking up the ink screen parameter management table 103.

[0087] In some embodiments, the ink screen parameter management table 103 records the performance indicators of the electronic ink screen, such as the current temperature of the electronic ink screen, the power of the electronic device, etc. When the temperature of the electronic ink screen is too high or the power of the electronic device is insufficient, the ink screen display management module 102 can control to reduce the number of Waveform frames displayed in a unit display cycle. The ink screen display management module 102 sends the Waveform frames to the synthesis display module 104 one by one.

[0088] In some embodiments, the synthesis display module 104 is a module in the HAL layer for synthesis display, and performs layer synthesis through hardware devices. The display screen driver module 105 is used to send the synthesized Waveform frame to the electronic ink screen for display.

[0089] refer to Figure 2a It can be seen that when the display content on the screen of the electronic device 100 changes, the drawing and synthesis service module 101 (SurfaceFlinger) in the operating system of the electronic device 100 can continuously draw and synthesize at least two RBG frames including different layers, and realize the change of the display content on the screen of the electronic device 100 by continuously displaying two RBG frames. The operating system of the electronic device 100 can convert the RBG frame into the corresponding Waveform frame through the ink screen display management module 102. In the process of the electronic ink screen continuously displaying two RBG frames, the display of the second RBG frame needs to wait until the display of the previous RGB frame is completed before it can start to display. For example: the RBG frame corresponding to the A screen is A1, and the RGB frame corresponding to the B screen is B1. The total display time of A1 is 500ms. In the process of the electronic device 100 displaying A1, the operating system of the electronic device 100 responds to the user operation or event triggering the need to display B1 immediately, then B1 needs to wait for the display of A1 to be completed before it can start to display. If A1 is just sent to display, B1 needs to wait for at least 500ms, causing a delay in the display of B1 by the electronic device 100.

[0090] It can be understood that when an electronic device displays a layer, there are some layers with a higher display priority than other layers (hereinafter referred to as high-level layers), such as super layers. When these layers with high priority are displayed, they can cover other layers in the previous display order. Therefore, in order to solve the above problem, an embodiment of the present application provides a display method for an electronic device. In this method, when the electronic device displays multiple Waveform frames corresponding to the first layer of the first application, it is confirmed whether the second layer subsequent to the first layer belongs to a high-level layer, that is, whether the display priority of the second layer is higher than the first layer, that is, the display priority of the second layer meets the preset conditions. If it belongs, after the second layer is drawn and synthesized, the multiple Waveform frames converted by the second layer are directly superimposed on the Waveform frames (not yet displayed Waveform frames) of the displayed first layer that have not been displayed, and then sent to the electronic ink screen for display. That is, the Waveform frame corresponding to the second layer can cover the Waveform frame corresponding to the first layer that has not been displayed, so that the second layer can participate in the Waveform frame corresponding to the first layer being displayed in advance, so that the display content of the second layer can be displayed in the electronic ink screen in time, reducing the display delay.

[0091] In some embodiments, super layers are suitable for layers with higher display levels (display priority), smaller display areas, and higher performance requirements. Super layers may include but are not limited to system applications, such as system security applications or full-screen gesture and manual effect layers, floating balls, and other windows / layers.

[0092] refer to Figure 2b , screen A consists of a status bar, layer X and a navigation bar, and screen B consists of a status bar, layer X, layer Y and a navigation bar. Layer X and layer Y can be layers of the same application installed on the electronic device, or they can be two layers of different applications. Screen A is being refreshed and displayed (refresh triggered by the status bar, navigation bar or any layer in layer X), and the display is still in the process of execution and has not been completed. At this time, the user triggers the operation of displaying screen B in some way. After the event is triggered, the display content of layer Y needs to be displayed on the electronic ink screen as soon as possible, instead of waiting for the display of screen A to be completed before outputting it to the electronic ink screen. If layer Y belongs to a super layer, when displaying layer Y, there is no need to wait for the display of screen A to be completed, but the display data of layer Y is directly superimposed on the Waveform frame of screen A, thereby achieving the effect of fast display.

[0093] In order to more clearly and in detail introduce the prompt method provided in the embodiment of the present application, the electronic device 100 involved in implementing the method provided in the embodiment of the present application is first introduced below. The electronic device 100 can be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA) and other devices with a display screen. The embodiment of the present application does not impose any restrictions on the specific type of the electronic device.

[0094] Figure 3 1 is a schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application. Figure 3As shown, the electronic device (such as a mobile phone) may include: a processor 310, an external memory interface 320, an internal memory 321, a universal serial bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an earphone interface 370D, a sensor module 380, a button 390, a motor 391, an indicator 392, a camera 393, a display screen 394, and a subscriber identification module (SIM) card interface 395, etc.

[0095] Among them, the above-mentioned sensor module 280 may include sensors such as a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor and an ambient light sensor.

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

[0097] The processor 310 may include one or more processing units, for example, the processor 310 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

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

[0099] In some embodiments, the processor 310 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0100] It is understandable that the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation of the electronic device. In other embodiments, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

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

[0102] The display screen 394 is used to display images, videos, etc. The display screen 394 includes a display panel.

[0103] The electronic device can realize the shooting function through ISP, camera 393, video codec, GPU, display screen 394 and application processor. ISP is used to process the data fed back by camera 393. Camera 393 is used to capture static images or videos. In some embodiments, the electronic device may include 1 or N cameras 293, where N is a positive integer greater than 1.

[0104] The external memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 310 through the external memory interface 320 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.

[0105] The internal memory 321 may be used to store computer executable program codes, which include instructions. The processor 310 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 321. For example, in an embodiment of the present application, the processor 310 may execute the instructions stored in the internal memory 321, and the internal memory 321 may include a program storage area and a data storage area.

[0106] The program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the internal memory 321 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.

[0107] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain 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.

[0108] Figure 4 1 is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention.

[0109] 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 four layers, from top to bottom: application layer, application framework layer, Android runtime and system library, and kernel layer.

[0110] like Figure 4 As shown, the application layer may include applications such as life, video, reading, shopping, gallery, calendar, call, navigation and music. It is understood that the application here may be an application or service installed by the electronic device 100, or an application or service not installed by the electronic device 100 retrieved by the quick service center.

[0111] In some embodiments, taking a reading application as an example, the reading application can specify that the layer included in the window corresponding to the reading application belongs to a super layer, and the reading application can specify the layer included in the window as a super layer through the properties of the window. In another embodiment, the reading application can also specify through a new interface or the operating system can pre-configure through a configuration file.

[0112] The application framework layer may include a layout subsystem, a window management module, an event input module, and the like. The layout subsystem is used to determine the position of each display element on the screen of the electronic device. The event input module is used to respond to the user's operation on the electronic device and change the display content on the screen of the electronic device. The window management module is used to obtain the properties of the window corresponding to the application, for example: obtaining whether the layer included in the window belongs to a super layer, and sending the properties of the window to the drawing synthesis service module (SurfaceFlinger).

[0113] The system library may include a drawing synthesis service module (SurfaceFlinger) and an ink screen display management module, etc. Among them, the drawing synthesis service module (SurfaceFlinger) is used to draw and synthesize one or more layers in the windows of one or more applications to obtain frame data. The ink screen display management module is used to process the conversion of frame data (RGB frame) to Waveform frame and the display control of Waveform frame. Among them, the ink screen display management module may include: a frame conversion unit, a frame display unit, a super layer state management unit, and a Waveform management unit, etc. Among them, the frame conversion unit is used to convert the frame data (RGB frame) synthesized in the drawing synthesis service module (SurfaceFlinger) into a Waveform frame. The super layer state management unit is used to identify the super layer and manage the state, position, area, and display data of the super layer. When the layer is displayed, it is necessary to overlay the display data of the super layer on the Waveform frame to be displayed in real time according to the position, area, etc. of the super layer. The Waveform management unit is used to assist the frame conversion unit in converting the Waveform frame. The Waveform management unit can read the Waveform parameter file in the operating system and provide the frame conversion unit with a Waveform query interface to support the frame conversion unit in completing the Waveform frame conversion function. The Waveform parameter file here is a waveform file unique to the ink screen, and the Waveform parameter file defines the timing parameters related to the display. The frame display unit is used to display the Waveform frame to the display driver of the kernel layer according to the display frame rate corresponding to the electronic ink screen, and the display driver sends the display data of the Waveform frame to the electronic ink screen for display. The Waveform frame here can be a Waveform frame generated by the frame conversion operation performed by the frame conversion unit. In the case of a super layer, the Waveform frame also includes the display data of the super layer superimposed according to the layer overlay algorithm to form the final Waveform frame for display.

[0114] The kernel layer includes display driver, event driver, sensor driver, etc.

[0115] The following is based on Figure 5 The method flow diagram shown is combined with Figure 6 The display method provided by the embodiment of the present application is described in detail. Figure 5 The method shown can be implemented by a processor of the electronic device 100 executing relevant instructions.

[0116] refer to Figure 5 , the display method may include the following steps:

[0117] S501: Obtain the current layer to be displayed.

[0118] For example, the current display layer to be sent here can be as follows: Figure 6 Application layer 1, application layer 2, application layer 3 and application layer 4 are shown. Application layer 1, application layer 2 and application layer 3 may be layers included in a first image frame corresponding to a window of a first application. Application layer 4 may be a layer included in a second image frame corresponding to a window of the first application. The first image frame and the second image frame may be continuous. In some embodiments, the second image frame may also be an image frame subsequent to the first image frame.

[0119] S502: Identify whether the current layer to be displayed belongs to a super layer.

[0120] Exemplarily, the application can specify which layers are super layers in the properties of the corresponding window. The operating system of the electronic device 100 can also pre-configure which layers in the application window are super layers through a configuration file. If it is determined that the layer is a super layer, step S503 is executed to convert the layer into a Waveform frame, superimpose the display data of the layer to the Waveform frame corresponding to the layer to be displayed, and display the superimposed layer. Figure 6 Here, the application layer 4 belongs to a super layer. The super layer can be converted into a Waveform frame and directly superimposed on the Waveform frame corresponding to the layer to be displayed (application layer 1, application layer 2 or application layer 3).

[0121] Otherwise, execute step S505 to display the layers in the order of their layers. Figure 6 , according to the order of application layer 1, application layer 2, application layer 3 and application layer 4, application layer 1, application layer 2, application layer 3 and application layer 4 are converted into Waveform frames respectively, and sent to the electronic ink screen in sequence.

[0122] S503: Process the current layer to be sent for display.

[0123] Exemplarily, the super layer state management unit in the ink screen display management module can execute the process of processing the super layer. This process may include: managing the state of the super layer, superimposing the display data of the super layer, and controlling the display of the super layer. Among them, in some embodiments, managing the state of the super layer may also include: managing the area size of the super layer. When the super layer is a non-full-screen layer, the size of the display area of ​​the super layer is determined according to the position, area, etc. of the super layer, that is, the size of the display area of ​​the super layer on the layer to be displayed. Manage the hierarchy of the super layer, that is, when the display data of the super layer is superimposed on the layer to be displayed, it is necessary to ensure that there are no other layers with a higher level than the super layer within the display area of ​​the super layer. Manage the Waveform frame management corresponding to the super layer, and it is necessary to manage the number of frames of the Waveform frame that has been sent and displayed by the super layer and the number of frames of the Waveform frame to be sent, and after the super layer is displayed, that is, after the super layer is hidden, it is necessary to exit the display data of the super layer, that is, exit the Waveform frame of the super layer.

[0124] In some embodiments, the display data of the superimposed super layer may also include: Figure 7a As shown, the Waveform frame conversion corresponding to the layer, that is, converting 1 RGB frame containing the layer into N Waveform frames, such as: Waveform frame 1, Waveform frame 2, etc., each Waveform frame needs to be generated by the Waveform management unit in the ink screen display management module through a table lookup. It can be understood that the Waveform frame here can be a full-screen Waveform frame, that is, the full-screen Waveform frame will occupy the entire screen of the electronic ink screen. For the corresponding Waveform frame conversion of the super layer, since the super layer is generally not full-screen, the super layer carries information such as position and area. The Waveform frame corresponding to the converted super layer can include the display data in the display area of ​​the super layer. Please continue to refer to Figure 7b , Figure 7b A display area 701 of a super layer is displayed. The Waveform frame data included in the display area 701 may be display data of the super layer, that is, a super layer Waveform frame.

[0125] In some embodiments, Figure 7c As shown, according to the display area 701 (position, area) corresponding to the super layer, the converted super layer Waveform frame is superimposed on the full-screen Waveform frame 1 to be displayed. The display area 701 here can be a local area on the Waveform frame 1, which is sent to the electronic ink screen for display. Figures 7a to 7c0, 1, 2 and 255 in the figure can represent pixel values. In another embodiment, other numerical values ​​can also be used, which are not limited here.

[0126] S504: Send the current layer to be displayed.

[0127] In some embodiments, if a super layer exists, it is necessary to simultaneously control the display of the super layer and the display of other layers, that is, to superimpose the super layer Waveform frame on the full screen Waveform frame to be displayed. Figure 8a As shown, Figure 8a The full-screen Waveform frame being displayed is shown. The full-screen Waveform frame is refreshed and displayed in sequence through display mode A. In display mode A, one RGB frame can be converted into N full-screen Waveform frames. For example, if the display frame rate of display mode A is 1.8 frames / s, then N can be 44. Figure 8a When the full-screen Waveform frame is refreshed to the third frame, the super layer is identified, that is, the super layer triggers the display, that is, the full-screen Waveform frame needs to be superimposed with the super layer Waveform frame to be refreshed and displayed in sequence.

[0128] In some embodiments, the super layer Waveform frames may be sequentially refreshed and displayed in display mode A, or in another display mode, for example, in display mode B. Figure 8a , in display mode B, one RGB frame can be converted into M super layer Waveform frames. For example, if the display frame rate of display mode B is 4 frames / s, then M can be 20. The super layer Waveform frame can choose a faster display mode, that is, the M value is relatively small. Figure 8b As shown, after the super layer triggers refresh, its first super layer Waveform frame can be superimposed on the third full-screen Waveform frame, and so on. After all M super layer Waveform frames are superimposed and displayed, if the full-screen Waveform frame has not been displayed, the remaining NM-2 full-screen Waveform frames that have not been displayed can continue to be superimposed on the last super layer Waveform frame, that is, the Mth super layer Waveform frame, until all N full-screen Waveform frames are displayed.

[0129] In another embodiment, if Figure 8cAs shown, M super layer Waveform frames are displayed only after N full screen Waveform frames. At this time, if the Nth full screen Waveform frame corresponds to the xth super layer Waveform frame, then the x+1th Waveform frame continues to be superimposed on the last (Nth) full screen Waveform frame.

[0130] It can be seen that through Figure 5 The display method shown avoids the problem that the display of all layers corresponding to the application of the electronic device equipped with an electronic ink screen needs to wait for the display of the previous layer to be completed, resulting in low display performance of the electronic ink screen. It allows some layers to be displayed immediately, and can achieve fast display speed of top-level business layers such as full-screen gestures, animations, and floating windows. Different refresh modes can also be used, with better performance.

[0131] refer to Fig. 9 a to Fig. 9 b, Fig. 9 a to Fig. 9 b exemplarily shows a schematic diagram of a scenario in which an electronic device 100 equipped with an electronic ink screen implements content display as provided in an embodiment of the present application.

[0132] like Fig. 9 As shown in FIG. 1 , the electronic device 100 displays a user interface 910, and the user interface 910 includes the display content of the screen of the electronic device 100. The user interface 110 displays an application interface 911 of a reading application installed on the electronic device 100. The application interface 911 lists a plurality of controls, such as control 912 and control 913. When the electronic device 100 receives an operation performed by the user in the user interface 910, such as a click operation performed by the user in a blank area of ​​the application interface 911, the electronic device 100 displays the reading application 911 in response to the operation. Fig. 9 b shows a user interface 920 of the screen of the electronic device 100. The user interface 920 displays an application interface 921 of a reading application, and the application interface 921 displays a control 922, a control 923, and a floating ball navigation control 924.

[0133] Understandably, Fig. 9 a to Fig. 9 b merely illustrates user interface 910 and user interface 920 on the screen of electronic device 100 and should not constitute a limitation on the embodiments of the present application.

[0134] It can be seen that through the above Fig. 9 a to Fig. 9b, it can be seen that when the user performs an operation on the electronic device 100 to display the floating ball navigation control 924 on the application interface 921 of the electronic device 100, the electronic device 100 can refresh and display the floating ball navigation control 924 in time without delay. That is, the electronic device 100 can display the layer corresponding to the floating ball navigation control 924 superimposed on the layer corresponding to the application interface 921, avoiding the need for the layer corresponding to the floating ball navigation control 924 to wait until the layer corresponding to the application interface 921 is displayed before it starts to display.

[0135] refer to Fig.10 a to Fig.10 b, Fig.10 a to Fig.10 b exemplarily shows a schematic diagram of a scenario in which an electronic device 100 equipped with an electronic ink screen implements content display as provided in an embodiment of the present application.

[0136] like Fig.10 As shown in FIG. 1 , the electronic device 100 displays a user interface 1010, which is the screen of the electronic device 100. The user interface 1010 displays an application interface 1011 of a reading application installed on the electronic device 100. The application interface 1011 lists a plurality of controls, such as control 1012 and control 1013. When the electronic device 100 receives an operation performed by the user in the user interface 1010, such as a click operation performed by the user on the left edge of the application interface 1011, the electronic device 100 displays the reading application 1011 in response to the operation. Fig.10 b shows a user interface 1020 of the screen of the electronic device 100. The user interface 1020 displays an application interface 1021 of a reading application, and the application interface 1021 displays a control 1022, a control 1023, and a gesture effect control 1024.

[0137] In some embodiments, Fig. 9 a to Fig. 9 b and Fig.10 a to Fig.10 The reading application in b may also be other applications installed on the electronic device 100, such as: browser application, image application, etc. The user may perform various gesture operations on the electronic device 100, such as: page turning operation, click operation, slide operation and back operation, etc., which are not specifically limited in the embodiments of the present application.

[0138] It should be understood that although the terms "first", "second", etc. may be used herein to describe various features, these features should not be limited by these terms. These terms are used only to distinguish and should not be understood as indicating or implying relative importance. For example, a first feature may be referred to as a second feature, and similarly a second feature may be referred to as a first feature without departing from the scope of the exemplary embodiments.

[0139] In addition, various operations will be described as multiple separate operations in a manner that is most helpful for understanding the illustrative embodiments; however, the order of description should not be interpreted as implying that these operations must rely on the order of description, and many of the operations can be implemented in parallel, concurrently, or simultaneously. In addition, the order of the operations can also be rearranged. When the described operations are completed, the process can be terminated, but there can also be additional operations not included in the drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0140] References in the specification to "one embodiment," "an embodiment," "an illustrative embodiment," etc. indicate that the described embodiment may include a particular feature, structure, or property, but each embodiment may or may not necessarily include the particular feature, structure, or property. Moreover, these phrases are not necessarily directed to the same embodiment. In addition, when particular features are described in conjunction with a specific embodiment, the knowledge of those skilled in the art can affect the combination of these features with other embodiments, whether or not these embodiments are explicitly described.

[0141] Unless the context dictates otherwise, the terms "comprising," "having," and "including" are synonymous. The phrase "A / B" means "A or B." The phrase "A and / or B" means "(A), (B), or (A and B)."

[0142] As used herein, the term "module" may refer to, be part of, or include: a memory (shared, dedicated, or group) for running one or more software or firmware programs, an application-specific integrated circuit (ASIC), an electronic circuit and / or processor (shared, dedicated, or group), a combinational logic circuit, and / or other suitable components that provide the described functionality.

[0143] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order is not required. Instead, in some embodiments, these features may be described in a manner and / or order different from that shown in the illustrative drawings. In addition, the structural or method features included in a specific figure do not mean that all embodiments need to include such features. In some embodiments, these features may not be included, or these features may be combined with other features.

[0144] The embodiments of the present application are described in detail above in conjunction with the accompanying drawings, but the use of the technical solution of the present application is not limited to the various applications mentioned in the embodiments of the present patent. Various structures and variations can be easily implemented with reference to the technical solution of the present application to achieve the various beneficial effects mentioned herein. Various changes made within the knowledge of ordinary technicians in the field without departing from the purpose of the present application should all fall within the scope of the patent application.

Claims

1. A display method, characterized in that: Applied to electronic equipment, the method comprises: The Mth first display frame among N first display frames of the first image data is displayed, wherein 1≤M≤N, and acquiring second image data displayed after the first image data, and confirming that a display priority of the second image data meets a preset condition; superimpose at least one of the second display frames of the P frame of the second image data on at least one of the first display frames from the M+1th to the Nth frames to obtain a T frame third display frame; The T frame third display frame is displayed.

2. The method according to claim 1, characterized in that The screen of the electronic device includes an electronic ink screen.

3. The method according to claim 1, characterized in that The first image data includes a layer of an application window image corresponding to the application window.

4. The method according to claim 3, characterized in that The confirming that the display priority of the second image data meets a preset condition includes: When the second image data belongs to at least one of a layer included in a window corresponding to a preset application or a layer generated in response to a preset gesture performed by a user, it is determined that the display priority of the second image data meets a preset condition.

5. The method according to claim 4, characterized in that The preset application includes a system security application, and the preset gesture includes a full-screen gesture.

6. The method according to claim 5, characterized in that P≤NM, P=T, and The step of superimposing at least one of the second display frames of the P frame of the second image data on at least one of the first display frames from the M+1th to the Nth frames to obtain a third display frame of the T frame includes: The P frame second display frame of the second image data is sequentially superimposed on the first P frame first display frames from the M+1th to the Nth first display frames to obtain a T frame third display frame; and The method further comprises: The latter NMP first display frames among the N first display frames of the first image data are displayed.

7. The method according to claim 5, characterized in that P>NM, and The step of superimposing at least one of the second display frames of the P frame of the second image data on at least one of the first display frames from the M+1th to the Nth frames to obtain a third display frame of the T frame includes: The first NM second display frames in the P second display frames of the second image data are sequentially superimposed on the M+1th to Nth first display frames to obtain T third display frames, where T=NM.

8. The method according to claim 7, characterized in that After displaying the third display frame of the T frame, the method further includes: After the third display frame of the T frame is displayed, the second display frame of the next P-N+M frames in the second display frame of the P frame is displayed.

9. The method according to claim 1, characterized in that: Also includes: If the size of the second display frame is smaller than the size of the first display frame, the display content of the second display frame is located in a local area of ​​the third display frame.

10. A display method, characterized in that: Applied to electronic equipment, the method comprises: Detecting a first operation of a user on a screen of the electronic device; In response to the first operation, start displaying first image data; Before the first image data is completely displayed, detecting a second operation of the user on the screen; In response to the second operation, second image data corresponding to the second operation is displayed.

11. The method according to claim 10, characterized in that The screen of the electronic device includes an electronic ink screen.

12. The method according to claim 10, characterized in that The display size of the second image data is greater than or equal to the display size of the first image data; and The step of displaying second image data corresponding to the second operation in response to the second operation includes: The second image data is displayed, wherein a second displayed image of the second image data covers the first displayed image of the first image data.

13. The method according to claim 12, characterized in that The first image data includes at least one of the following: an application interface of a reading application, a browser application, and an image application of the electronic device.

14. The method according to claim 12, characterized in that The first operation includes at least one of the following: a page turning operation, a click operation, a slide operation, and a back operation.

15. The method according to claim 10, characterized in that the display size of the second image data is smaller than the display size of the first image data, in response to the second operation; and The step of displaying second image data corresponding to the second operation in response to the second operation includes: The second image data is displayed, wherein a second display image of the second image data is located in a local area of ​​the first display image of the first image data.

16. The method according to claim 10, characterized in that The step of starting to display first image data in response to the first operation includes: The Mth first display frame among N first display frames of the first image data is displayed, wherein 1≤M≤N.

17. The method according to claim 16, characterized in that The step of displaying second image data corresponding to the second operation in response to the second operation includes: Acquire second image data corresponding to the first operation, and confirm that the display priority of the second image data meets a preset condition; superimpose at least one second display frame in the P frame second display frame of the second image data on at least one first display frame from the M+1th to the Nth first display frames to obtain a T frame third display frame; The T frame third display frame is displayed.

18. The method according to claim 17, characterized in that P≤NM, P=T, and The step of superimposing at least one of the second display frames of the P frame of the second image data on at least one of the first display frames from the M+1th to the Nth frames to obtain a third display frame of the T frame includes: The P frame second display frame of the second image data is sequentially superimposed on the first P frame first display frames from the M+1th to the Nth first display frames to obtain a T frame third display frame; and The method further comprises: The latter NMP first display frames among the N first display frames of the first image data are displayed.

19. The method according to claim 17, characterized in that P>NM, and The step of superimposing at least one of the second display frames of the P frame of the second image data on at least one of the first display frames from the M+1th to the Nth frames to obtain a third display frame of the T frame includes: The first NM second display frames of the P frame second display frames of the second image data are sequentially superimposed on the M+1th to Nth first display frames to obtain T frame third display frames.

20. The method according to claim 19, characterized in that After displaying the third display frame of the T frame, the method further includes: After the third display frame of the T frame is displayed, the second display frame of the next P-N+M frames in the second display frame of the P frame is displayed.

21. An electronic device, characterized in that: include: a memory for storing instructions to be executed by one or more processors of the electronic device, and The processor is one of the processors of the electronic device, and is used to execute the display method described in any one of claims 1-20.

22. A computer program product, characterized in that include: A non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium contains a computer program code for executing the display method according to any one of claims 1 to 20.