Display method and device and electronic equipment

By introducing a floating layer and performing pixel blending, the problem of pop-up windows blocking system startup was solved, achieving non-blocking display and improving system startup efficiency and user experience.

CN121233014APending Publication Date: 2025-12-30LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511573890.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-30
Publication Date
2025-12-30

AI Technical Summary

Technical Problem

In existing technologies, pop-up windows block system operation during system startup, resulting in increased startup time and obscuring the original layer information, thus affecting user experience and efficiency.

Method used

By employing multi-layer display technology, a floating layer is introduced during the system power-on self-test phase. The transparency parameter is used to mix the pixel data in the overlapping area to generate the target pixel data. The floating layer and the original layer are then displayed at different layer levels to achieve unobstructed display of the pop-up window.

Benefits of technology

Without blocking system startup, the pop-up content was displayed flexibly, ensuring the integrity of the original layer information and improving the display effect and user interaction experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121233014A_ABST
    Figure CN121233014A_ABST
Patent Text Reader

Abstract

The invention discloses a display method and device and electronic device.The method comprises the steps that in the system power-on self-test stage, in response to a popup event of a current display interface, a first display area corresponding to the popup event is determined; if an overlapping area exists between the first display area and a second display area corresponding to the currently displayed original image layer, pixel mixing processing is carried out on pixel data corresponding to the overlapping area based on the transparency parameter, and target pixel data is generated; generating a suspended layer based on the target pixel data, and displaying the suspended layer in the first display area; updating the original layer and / or the suspended layer based on the system operation information; the original image layer and the suspended image layer are located at different image layer levels. According to the embodiment of the invention, richer interaction modes can be provided on the premise of not blocking system startup, and the display effect and the system startup efficiency are improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data processing, and in particular, to a display method and device and electronic equipment. BACKGROUND

[0002] During the startup of a computer system, especially in the Power-On Self-Test (POST) stage, the system usually needs to display key information to the user or request user input. To achieve this goal, the system often uses a pop-up mechanism to interrupt the current process and obtain user feedback. This mechanism is widely used in various hardware platforms and operating systems to ensure that the user can respond to system prompts in a timely manner.

[0003] In the prior art, the pop-up window blocks the system running until the user operates or times out, which increases the system startup time and affects the system startup efficiency. SUMMARY

[0004] The embodiments of the present application provide a display method, device and electronic equipment, which can provide more rich interaction modes without blocking the system startup, and improve the display effect and system startup efficiency.

[0005] In a first aspect, the embodiments of the present application provide a display method, which comprises: In the system Power-On Self-Test stage, in response to a pop-up event of a current display interface, determining a first display area corresponding to the pop-up event; If there is an overlapping area between the first display area and a second display area corresponding to an original layer currently displayed, performing pixel mixing processing on pixel data corresponding to the overlapping area based on a transparency parameter to generate target pixel data; Generating a floating layer based on the target pixel data, and displaying the floating layer in the first display area; Updating the original layer and / or the floating layer based on system running information; the original layer and the floating layer are in different layer levels.

[0006] In some embodiments, the overlapping area includes first display content corresponding to the floating layer, and / or second display content corresponding to the original layer.

[0007] In some embodiments, the pixel mixing processing on the pixel data corresponding to the overlapping area based on the transparency parameter to generate the target pixel data comprises: Obtaining a first pixel set of a background image of the pop-up event in the overlapping area, a second pixel set corresponding to text information of the pop-up event, and a third pixel set of the original layer in the overlapping area; Performing pixel mixing processing on the first pixel set and the third pixel set based on a first transparency parameter to obtain a background pixel set; perform pixel blending processing on the background pixel set and the second pixel set based on the second transparency parameter to obtain target pixel data; The first transparency parameter is used to determine the transparency of the background image, and the second transparency parameter is used to determine the transparency corresponding to the text information.

[0008] In some embodiments, the original layer and / or the floating layer are updated based on system running information, including: obtaining an event type of the pop-up event; If the event type is a blocking event, the power-on self-test process of the system is blocked and the update of the original layer is stopped under the condition that a preset blocking condition is met, a processing flow corresponding to the pop-up event is jumped to execute, and the floating layer is updated based on a processing state of the pop-up event; If the event type is a non-blocking event, the original layer and the floating layer are updated based on system running information in the system power-on self-test process.

[0009] In some embodiments, the method further includes: If the event type is a non-blocking event and the processing flow corresponding to the pop-up event is related to user input, a timer is started when the floating layer is displayed in the first display area, and a first input operation of the user is listened to in the background of the system; If the timer does not time out and the first input operation is listened to, the power-on self-test process of the system is interrupted, and the first input operation is processed in response; If the timer times out and the first input operation is not listened to, the floating layer is closed.

[0010] In some embodiments, the method further includes: If all instruction executions in the power-on self-test stage end, it is checked whether the timers corresponding to the floating layers time out; If the timer corresponding to a first floating layer does not time out and the user input is not obtained, the system is blocked from starting until the timer corresponding to the first floating layer times out or the user input is obtained; The first floating layer is any floating layer in the current display interface for obtaining the user input.

[0011] In some embodiments, the floating layer is displayed in the first display area, including: If there are at least two floating layers, a second input operation of the user is received; A second floating layer selected by the user is determined based on the second input operation; The second floating layer is displayed in the first display area, and other floating layers except the second floating layer among the at least two floating layers are set to a hidden state.

[0012] In some embodiments, the method further includes: obtaining a third input operation of the user; determining at least one of the transparency parameter and the display style of the floating layer based on the third input operation.

[0013] In a second aspect, embodiments of the present application provide a display device, which includes: a determination module configured to determine a first display area corresponding to a pop-up event of a current display interface in a system power-on self-test stage; a generation module configured to perform pixel mixing processing on pixel data corresponding to an overlapping area between the first display area and a second display area corresponding to a native layer of the current display, to generate target pixel data, if the overlapping area exists; a display module configured to generate a floating layer based on the target pixel data, and display the floating layer in the first display area; an update module configured to update the native layer and / or the floating layer based on system running information; the native layer and the floating layer are in different layer levels.

[0014] In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory storing processor-executable instructions, when the instructions are executed by the processor, the method of the first aspect is implemented.

[0015] In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, which stores a program, when the program is executed by a processor, the method of the first aspect is implemented. BRIEF DESCRIPTION OF DRAWINGS

[0016] Figure 1 a display method implementation flowchart provided by embodiments of the present application; Figure 2 a screen display schematic diagram of a system power-on self-test stage in the related art; Figure 3 a screen display schematic diagram of a system power-on self-test stage provided by embodiments of the present application; Figure 4 a pixel mixing processing flowchart provided by embodiments of the present application; Figure 5 a display effect schematic diagram of a native layer and a floating layer provided by embodiments of the present application; Figure 6 a component structure schematic diagram of a display device proposed by embodiments of the present application; Figure 7 a component structure schematic diagram of an electronic device provided by embodiments of the present application. DETAILED DESCRIPTION

[0017] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. It can be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only the part related to the present application is shown in the drawings.

[0018] In the system power-on self-test (POST) stage, it is usually required to prompt the user through a pop-up window and obtain the input to handle some key configurations or abnormal situations. However, in the traditional way, the display of the pop-up window often adopts a blocking mechanism, that is, the system needs to wait for the user input or continue to execute the subsequent process after timeout, which not only increases the system startup time, but also the content of the pop-up window covering area will block the original layer information, so that the user cannot view the complete system state and the pop-up window content at the same time, affecting the user experience and information integrity.

[0019] To solve the above problems, the display method, device and electronic equipment provided by the embodiments of the present application, and the present application provides a display method based on multi-layer display technology. The method realizes non-blocking display of the pop-up window in the system power-on self-test stage by introducing a floating layer. Specifically, when a pop-up window event is detected, a first display area corresponding to the pop-up window is determined, and in the case that the first display area overlaps with an original layer, the pixel data of the overlapping area is mixed based on a transparency parameter to generate target pixel data. Subsequently, a floating layer is generated and displayed, and the original layer and / or the floating layer is independently updated according to system running information. Since the original layer and the floating layer are in different layer levels, they can coexist and display, which not only ensures the integrity of the original layer information, but also realizes flexible display of the pop-up window content.

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

[0021] In the embodiments of the present application, Figure 1 The display method implementation process diagram provided by the embodiments of the present application is shown as Figure 1 The display method can include the following steps: Step 101, in the system power-on self-test stage, in response to the pop-up window event of the current display interface, determining the first display area corresponding to the pop-up window event; Step 102, if the first display area and the second display area corresponding to the original layer currently displayed have an overlapping area, performing pixel mixing processing on the pixel data corresponding to the overlapping area based on a transparency parameter to generate target pixel data; Step 103, generating a floating layer based on the target pixel data, and displaying the floating layer in the first display area; Step 104, updating the original layer and / or the floating layer based on system running information; the original layer and the floating layer are in different layer levels.

[0022] It should be noted that the power-on self-test is a core initialization and detection process automatically executed by hardware (mainly BIOS / UEFI firmware on the motherboard) after the computer is powered on, in which the hardware state needs to be checked and the startup information needs to be shown to the user. The traditional pop-up window mechanism usually blocks the entire startup process, causing the user to be unable to view the complete system state. In the present application, the pop-up window can be displayed without interfering with the display of the original layer by introducing the floating layer.

[0023] In the system power-on self-test stage, when an important event occurs that requires user interaction or prompting, such as configuration setting, error warning, etc., the system generates a pop-up window event to obtain user input through a pop-up window or a floating window, or to show prompt information to the user.

[0024] In the embodiment of the present application, when the pop-up window event is triggered, the display position of the first display area corresponding to the pop-up window event on the screen is first determined. The first display area is a rectangular area for displaying the content of the pop-up window, and the size and position of the area are determined by the content of the pop-up window and the layout strategy of the system. For example, if the system detects a hardware error, a red warning box can be generated in the upper right corner of the screen, and the area occupied by the red warning box is the first display area. After detecting the pop-up window event, the system can analyze the layout of the current screen and calculate the first display area suitable for the pop-up window.

[0025] The original layer refers to the layer being displayed in the current screen. In the system power-on self-test stage, the original layer carries static and dynamic information during system running, which can specifically include hardware initialization state, key configuration information, progress bar, hot key prompt, system log content, etc. The second display area is the display area of the original layer on the current screen.

[0026] It can be understood that the original layer can be displayed full screen, in which case the second display area of the original layer is the entire area of the screen; the original layer can also be displayed in split screen mode, occupying part of the display area of the screen, in which case the second display area of the original layer is the display area allocated to the original layer by the system based on the current split screen display strategy. The embodiment of the present application does not limit the specific display mode corresponding to the original layer.

[0027] Figure 2 A schematic diagram of a screen display in a system power-on self-test stage in the related art is shown in FIG. 1. As shown in FIG. 1, the screen is divided into two display areas, the original layer and the floating layer. The original layer is the display area of the original layer on the current screen, and the floating layer is the display area of the floating layer on the current screen. Figure 2As shown, in the system power-on self-test stage, relevant information of system running is displayed on the current screen. When a pop-up event occurs, for example, the current system encounters some situations in the POST process and needs to inform the user through a pop-up window and obtain user input. In the related art, the pop-up window needs to block the system running until the user input is received or the pop-up window times out and exits. If the timeout exits, the system runs according to the default processing flow. During the display of the pop-up window, the display area of the default pop-up window covers the original layer, for example, Figure 2 As shown, this will cause the information of the original layer to be displayed incompletely, and the display of the pop-up window will block the system running and affect the update of the original layer.

[0028] In the embodiment of the present application, after the system determines the first display area corresponding to the pop-up event, it can first judge whether there is an overlapping area between the first display area of the pop-up event and the second display area corresponding to the currently displayed original layer. If the first display area of the pop-up window partially overlaps with the second display area of the original layer, or the first display area of the pop-up window completely overlaps with the second display area of the original layer, the pixel data corresponding to the overlapping area is subjected to pixel blending processing to generate target pixel data.

[0029] Among them, pixel blending is an image processing algorithm, which is used to calculate the color value of each pixel point in the overlapping area of two layers according to the transparency parameter, so as to realize semi-transparent superimposed display. For example, for a certain pixel point in the overlapping area, assuming that the pixel color corresponding to the pop-up event is the first color value, and the pixel color corresponding to the original layer is the second color value, after pixel blending processing, the color value of the pixel point = first color value x transparency + second color value x (1-transparency).

[0030] Exemplarily, based on the pre-set transparency parameter, the pixel color values of each pixel point in the overlapping area of the first display area and the second display area can be weighted and averaged to generate the final displayed pixel value. For example, assuming that the color of a certain pixel point in the original layer is (100, 210, 220), and the color of the pixel point corresponding to the pop-up event is (150, 145, 180), and the transparency is set to 30%, then the calculated mixed pixel color value is (115, 190, 208). In this calculation process, the value of the red channel R = 150 x 30% + 100 x (1-30%) = 115, the value of the green channel G = 145 x 30% + 210 x (1-30%) = 190, and the value of the blue channel B = 180 x 30% + 220 x (1-30%) = 208.

[0031] It should be noted that the transparency parameter in the embodiments of the present application can be configured by the system, or can also be adjusted by the user according to the actual display requirements. For example, the system provides a default transparency of 30%, but the user can adjust the transparency to other values such as 20% or 50% through peripheral input. The embodiments of the present application support flexible adjustment of the transparency parameter, which helps to better adapt to different display environments and user preferences.

[0032] The embodiments of the present application generate a floating layer based on the target pixel data after pixel blending processing, and display the floating layer in the first display area. The floating layer is an independent layer relative to the original layer, and is used to carry the pop-up window content. The display area of the floating layer is the first display area corresponding to the pop-up window event, and the system can position the floating layer according to the position and size of the first display area, and maintain the correct hierarchical relationship with other layers outside the floating layer.

[0033] The hierarchical relationship between the floating layer and other layers can be determined according to system configuration or the event priority corresponding to each layer. For example, in the embodiments of the present application, the floating layer and the original layer belong to different layer levels.

[0034] Figure 3 A system power-on self-test stage screen display schematic diagram is provided for the embodiments of the present application. As shown in Figure 3 In the embodiments of the present application, the original layer is usually located at the bottom layer and is responsible for displaying basic information of the system; and the floating layer is located at the upper layer and is used to display temporary prompts, warnings and the like.

[0035] In the embodiments of the present application, the pixel values of each pixel point in the overlapping area are the pixel values in the target pixel data after pixel blending processing, thereby ensuring that the floating layer is always displayed above the original layer, while not completely blocking the content of the original layer.

[0036] It can be understood that if the first display area and the second display area completely overlap, the overlapping area is the first display area, and the pixel values of all pixel points of the floating layer are determined based on the target pixel data, in other words, the target pixel data contains the pixel values of all pixel points of the floating layer.

[0037] If the first display area and the second display area partially overlap, the overlapping area is a partial area of the first display area. In this case, the pixel values of each pixel point in the overlapping area of the floating layer are determined based on the target pixel data, and the pixel values of each pixel point of the floating layer outside the overlapping area are determined based on the pixel data corresponding to the pop-up window event.

[0038] In some embodiments, the overlapping area includes the first display content corresponding to the floating layer, and / or the second display content corresponding to the original layer.

[0039] The first displayed content refers to the foreground content of the floating layer, such as pop-up windows, text prompts, and graphic icons. The system draws the first displayed content based on pop-up events and can adjust its transparency, position, and style according to user input to achieve personalized display effects.

[0040] The second display content refers to the foreground display content that already exists on the original layer, such as system progress, device status, error messages, etc.

[0041] It is understood that, in the embodiments of this application, the overlapping area refers to the part where the floating layer and the original layer intersect in the display space. It may include the background content of the original layer and the background content of the floating layer, or it may include the background content of the original layer, the foreground display content and the background content of the floating layer, or it may include the background content of the original layer and the background content of the floating layer and the foreground display content, or it may include the background content of the original layer, the foreground display content and the background content of the floating layer and the foreground display content.

[0042] In this embodiment, by performing pixel blending processing on each pixel in the overlapping area, the color value of the pixel corresponding to the pop-up event is linearly interpolated with the color value of the pixel corresponding to the original layer to generate the final pixel color displayed on the screen. This allows the floating layer to display important information corresponding to the pop-up event without affecting the visibility of the original layer content, thereby avoiding the problem of traditional pop-ups obscuring the original layer content. This enables the system to improve the integrity of the interface display and the user experience.

[0043] Furthermore, in this embodiment, the floating layer is drawn independently of the original layer and supports transparency adjustment. The floating layer also supports hotkey switching, scrolling, zooming, and other operations, further enhancing the user experience.

[0044] In this embodiment, independent frame buffers can be allocated for the floating layer and the original layer. When a pop-up event occurs, and the first display area corresponding to the pop-up event overlaps with the second display area of ​​the original layer, the system can extract the pixel data corresponding to the pop-up event and the pixel data corresponding to the original layer by calling the graphics library interface. Then, according to the set transparency parameters, pixel blending is performed on the pixels in the overlapping area, the generated target pixel data is written to the frame buffer of the floating layer, and the frame buffer of the floating layer is rendered to the display device. Because the floating layer has an independent frame buffer, it can coexist with the original layer without affecting each other.

[0045] During system operation, the original layer and / or the floating layer are updated based on system operation information. The second display content on the original layer is updated according to the system's existing logic and will not be overwritten or interrupted by the presence of the floating layer. The first display content of the floating layer is updated according to the pop-up event handling logic and progress.

[0046] For example, when the system detects a new hardware status or user input, it needs to refresh the second display content of the original layer; similarly, if the pop-up content changes, the floating layer also needs to be redrawn.

[0047] It should be noted that, in this embodiment, since the original layer and the floating layer are at different layer levels, the updates of the original layer and the floating layer are independent of each other and do not affect each other. The continuous update of the second display content in the original layer does not affect the user's viewing of the pop-up prompts in the floating layer. Similarly, the continuous update of the first display content in the floating layer does not affect the normal display and update of the second display content in the original layer, thereby ensuring that the user can see the key information of system operation and pop-up prompts at the same time.

[0048] Furthermore, in this embodiment, the need for re-blending pixels can be determined based on whether the updated area overlaps with the floating layer. If the updated area does not overlap with the floating layer, the system only needs to update the original layer; if there is overlap, the system needs to re-blend the overlapping area and update the image on the display device, thereby reducing unnecessary computational overhead and improving the overall system performance.

[0049] The display method provided in this application introduces a floating layer during the system power-on self-test phase, achieving non-blocking display of pop-ups. Specifically, after detecting a pop-up event, the system determines the first display area corresponding to the pop-up event. If there is overlap with the original layer, a pixel blending algorithm is used to generate target pixel data. A floating layer is generated and displayed based on the target pixel data, and the original layer and / or the floating layer are independently updated according to system operation information. Since the original layer and the floating layer are at different layer levels, the system controls the coexistence of the original layer and the floating layer, ensuring the integrity of the original layer's information while enabling flexible display of the pop-up content. This solves the problem of traditional pop-ups obscuring the original layer's information and provides richer interactive methods without blocking system startup, thus improving the display effect.

[0050] In some embodiments, step 102: performing pixel blending processing on the pixel data corresponding to the overlapping region based on the transparency parameter to generate target pixel data includes the following steps: Step S11: Obtain the first pixel set of the background image of the pop-up event in the overlapping area, the second pixel set corresponding to the text information of the pop-up event, and the third pixel set of the original layer in the overlapping area. Step S12: Perform pixel blending processing on the first pixel set and the third pixel set based on the first transparency parameter to obtain the background pixel set; Step S13: Perform pixel blending processing on the background pixel set and the second pixel set based on the second transparency parameter to obtain the target pixel data.

[0051] The first transparency parameter is used to determine the transparency of the background image; the second transparency parameter is used to determine the transparency of the text information.

[0052] The first pixel set refers to the set of pixels of the background image of the pop-up event within the overlapping area; the second pixel set refers to the set of pixels corresponding to the text information of the pop-up event; and the third pixel set refers to the set of pixels of the original layer within the overlapping area.

[0053] In this embodiment, the transparency parameters of the background image and text information of the pop-up event can be set independently, thereby enabling independent configuration and adjustment of the transparency of the background image and text information. This allows for customized display of the pop-up event without destroying the original layer display information, thus improving display flexibility.

[0054] It should be noted that the transparency parameter is used to control the transparency of image elements, and is usually expressed as a percentage (such as 30%). The smaller the value, the higher the transparency.

[0055] Figure 4 This is a schematic diagram of a pixel blending processing flow provided in an embodiment of this application. Figure 4 As shown, the original layer includes the original layer background and the original layer information, and the transparency parameters of the floating layer include the first transparency parameter of the background image and the second transparency parameter of the text information.

[0056] In this embodiment, if the first display area of ​​the pop-up event overlaps with the second display area of ​​the original layer, the first pixel set of the background image of the pop-up event is first blended with the third pixel set of the original layer based on the first transparency parameter to obtain a background pixel set. Then, the background pixel set is blended with the second pixel set of the text information of the pop-up event based on the second transparency parameter to obtain target pixel data. Finally, a floating layer is generated based on the target pixel data and displayed in the first display area of ​​the screen.

[0057] It is understood that the first transparency parameter in the embodiments of this application is used to adjust the transparency between the background image of the pop-up event and the original layer, so that the background image of the pop-up event will not completely cover the content of the original layer, ensuring that the user can still see the original user interface information.

[0058] The second transparency parameter controls the transparency of the pop-up event's text relative to its background image. Since the text in a pop-up event is often critical content and requires higher contrast for readability, the second transparency parameter can be set to a higher value to ensure the text is clearly visible.

[0059] Figure 5 This is a schematic diagram illustrating the display effect of the original layer and the floating layer provided in an embodiment of this application. For example... Figure 5 As shown in the embodiments of this application, the transparency of the background image and text information of the floating layer can be adjusted separately, and the transparency of the background image and text information can be the same or different.

[0060] The pixel blending process in the embodiments of this application will be illustrated below with a specific example.

[0061] As an example, suppose that during the POST phase, hardware information is displayed on the screen, and the second display area of ​​the original layer is the central area of ​​the screen. The first display area corresponding to the pop-up event is a 500×300 rectangle, the first transparency parameter of the background image of the pop-up event is 30%, and the second transparency parameter of the text information is 80%. Based on the first pixel set of the background image of the pop-up event in the overlapping area, the background image is determined to be a solid red background with an RGB value of (255,0,0); based on the second pixel set of the text information of the pop-up event, the text information is determined to be white text with an RGB value of (255,255,255); based on the third pixel value of the original layer in the overlapping area, the original layer is determined to be a black background + white text, where the RGB value of the black background is (0,0,0), and the RGB value of the white text is (255,255,255). The pixel blending process specifically includes the following steps: 1. Extract the first pixel set of the background image of the pop-up event in the overlapping area, the second pixel set corresponding to the text information of the pop-up event, and the third pixel set of the original layer in the overlapping area.

[0062] 2. Based on the first transparency parameter (30%), blend the first pixel set (pop-up background) with the third pixel set (original layer).

[0063] In this embodiment, since the original layer contains both background and text, the pixel values ​​of pixels in the overlapping areas can be calculated separately: 1) Mix the pixel values ​​of the background area of ​​the original layer with the pixel values ​​of the background image of the pop-up event. The mixed background pixel values ​​are: (255×0.3+0×0.7,0×0.3+0×0.7,0×0.3+0×0.7)=(76,0,0).

[0064] 2) Mix the pixel values ​​of the text area of ​​the original layer with the pixel values ​​of the background image of the pop-up event. The mixed pixel values ​​are: (255×0.3+255×0.7,255×0.3+255×0.7,255×0.3+255×0.7)=(255,255,255).

[0065] In this embodiment, the obtained background pixel set includes the pixel values ​​of each pixel in the background area of ​​the original layer after pixel blending, and the pixel values ​​of each pixel in the text area of ​​the original layer after pixel blending. After blending, the background area of ​​the original layer becomes dark red, while the text area of ​​the original layer remains white (slightly reddish), which is equivalent to the original layer being displayed through 30% of the red pop-up background.

[0066] 3. Based on the second transparency parameter (80%), blend the background pixel set and the third pixel set (pop-up text).

[0067] Similarly, the pixel values ​​of pixels in overlapping regions can be calculated separately: 1) Mix the pixel values ​​of the pure background area (excluding text) with the pixel values ​​of the pop-up text. The resulting pixel values ​​are: (255×0.8+76×0.2,255×0.8+0×0.2,255×0.8+0×0.2)=(219,204,204).

[0068] 2) Mix the pixel values ​​of the text area with the background with the pixel values ​​of the pop-up text. The resulting pixel value is: (255×0.8+255×0.2,255×0.8+255×0.2,255×0.8+255×0.2)=(255,255,255).

[0069] For the non-text area of ​​the floating layer, the blended background obtained in step 2 can be used directly: the RGB of the dark red area is (76,0,0), and the RGB of the text area of ​​the original layer is (255,255,255).

[0070] This application embodiment allows for flexible control of the display ratio between the background image and the original layer of a pop-up event by setting different transparency parameters. This highlights the text information of the pop-up event without affecting the visibility of the original user interface information, improving the control precision of the image display layer, ensuring that the content of the pop-up event is clear and easy to read, and avoiding obscuring the information of the original layer, thus improving the display effect.

[0071] In some embodiments, step 104: updating the original layer and / or the floating layer based on system operating information includes: Step S21: Obtain the event type of the pop-up event; Step S22: If the event type is a blocking event, then under the condition of satisfying the preset blocking conditions, the power-on self-test process of the system is blocked and the update of the original layer is stopped. The process corresponding to the pop-up event is executed, and the floating layer is updated based on the processing status of the pop-up event. Step S23: If the event type is a non-blocking event, then during the system power-on self-test, update the original layer and the floating layer based on the system operation information.

[0072] In the embodiments of this application, pop-up events can be divided into two categories: blocking events and non-blocking events.

[0073] Blocking events are those that require user input or timeout before subsequent system operations can continue. For example, a blocking event is triggered when the system detects a configuration error and requires user confirmation of a fix.

[0074] Non-blocking events are events that allow the system to continue executing the POST process while displaying relevant information. Non-blocking events do not affect the normal system startup process, nor do they wait for user input; they are only used to prompt the user with certain information, allowing the system to continue running while a pop-up window is displayed.

[0075] This application embodiment obtains the event type of the pop-up event and can adopt different processing strategies according to the event characteristics of the pop-up event, thereby avoiding unnecessary system blocking and improving system startup efficiency and interface friendliness.

[0076] Specifically, if the pop-up event is a blocking event, the system further determines whether the blocking conditions are met. In this embodiment, the preset blocking conditions refer to a set of logical rules that the system relies on before determining whether to enter a blocking state. For example, the blocking mechanism is only triggered when the user fails to respond within a specified time, or when the system detects that the event level reaches a certain threshold.

[0077] If the pop-up event is a blocking event, and the blocking conditions are currently met, the power-on self-test process and the update of the original layer are paused. The corresponding processing flow for the pop-up event is then executed, such as displaying a user input box or showing detailed error information, waiting for user input or exiting after a timeout. The system can update the floating layer based on the processing status of the pop-up event, for example, changing it from waiting for user input to submitted.

[0078] If the pop-up event is a non-blocking event, it can avoid blocking the system's power-on self-test (POST) process and update the original and floating layers based on system operating information during POST. This system operating information includes the system's current startup status, hardware detection results, task progress, and other data. This information can be used to update the original and floating layers, allowing them to more comprehensively reflect the system status.

[0079] It should be noted that updating the original layer can include refreshing information on the main system interface, such as progress bars and hotkey prompts. In blocked mode, updating the original layer is stopped to avoid interface clutter or distraction.

[0080] The original layer and the floating layer are updated independently and do not affect each other. The original layer is responsible for displaying basic system operation information, while the floating layer is used to highlight important prompts or additional information corresponding to pop-up events.

[0081] This application embodiment uses a non-blocking event handling method, which allows the system to provide additional information support to the user without interrupting the startup process, while maintaining a clear and smooth interface.

[0082] As an example, pop-up events can be categorized into those for displaying configuration information, those for displaying system warnings, and those for displaying system errors. Based on the different information displayed, pop-up events can be further divided into blocking and non-blocking events, each requiring a different processing strategy. 1) For configuration information, such as system configuration information and user configuration information, this configuration information is not related to system startup. It is mainly to display more information to the user. Therefore, the corresponding pop-up events can be determined as non-blocking events, which can avoid blocking the system's power-on self-test process and do not require waiting for user input.

[0083] 2) For system warning messages, the corresponding pop-up events can be identified as non-blocking events. The system warning messages can be displayed through a floating layer without blocking the system's power-on self-test process, and user input can be listened to in the system background.

[0084] 3) For system error messages, the corresponding pop-up event can be identified as a blocking event, which requires blocking the system's power-on self-test process and waiting for user input or pop-up timeout.

[0085] In this embodiment of the application, by distinguishing the types of pop-up events and adopting differentiated processing mechanisms, the blocking of the system startup process can be effectively controlled. When handling pop-up events, the interface update strategy can be flexibly adjusted to ensure that user interaction support is provided when necessary, while not affecting the normal system startup process. This balances system efficiency and user interaction needs, thereby achieving efficient and stable system interface management.

[0086] In some embodiments, the display method provided in this application further includes: Step S31: If the event type is a non-blocking event and the processing flow corresponding to the pop-up event is related to user input, when the floating layer is displayed in the first display area, start the timer and listen for the user's first input operation in the system background. Step S32: If the timer has not expired and the first input operation is detected, interrupt the power-on self-test process of the system and respond to the first input operation. Step S33: If the timer times out and the first input operation is not detected, then close the floating layer.

[0087] In this embodiment of the application, for non-blocking pop-up events, if user input needs to be obtained, the display of the floating layer corresponding to the pop-up event can be controlled by a timer.

[0088] Specifically, when a pop-up event is detected as a non-blocking event, and the corresponding processing flow is related to user input, the system can start a timer while displaying the floating layer to set a maximum waiting time limit for user input. Simultaneously, the system will continuously monitor the user's first input operation in the background, such as keyboard input, clicks, or drags on preset controls.

[0089] This application embodiment introduces a timer mechanism to include the system's continued operation time within the originally estimated maximum waiting time of the pop-up window. Compared to related technologies that directly block system operation after detecting the pop-up window time, this application embodiment can achieve a rapid response to user input without affecting the overall power-on self-test process. The system can ensure its own operating efficiency and flexibly handle user input needs, thereby improving the user experience.

[0090] If the first user input is detected before the timer expires, an interrupt mechanism can be triggered to pause the current power-on self-test (POST) process and prioritize handling the first input. Understandably, the response to the first input depends on the specific business logic, such as confirming configuration parameters or skipping a certain check. By interrupting the POST process and prioritizing user input, the system maintains its flexibility while avoiding prolonged process pauses due to user input.

[0091] If no user input is detected before the timer expires, the system can disable the floating layer and resume the normal power-on self-test process.

[0092] As an example, suppose the POST program detects an anomaly in the hard drive's GPT partition table and generates a pop-up event. The system first identifies the event type as a non-blocking event, and the processing flow depends on user input. Following the pixel blending logic of the aforementioned embodiment, the system displays a semi-transparent floating layer (pop-up content) in the center of the screen. At this time, the original layer continues to update, for example, the detection progress slowly increases from 80% to 85%.

[0093] At the same time, the system starts a 10-second countdown timer, which runs in the background and does not affect the POST main process.

[0094] The system listens for the user's first input operation in the background, such as pressing the "Y" or "N" key or clicking the pop-up button with the mouse.

[0095] Assuming the user presses the "Y" key at the 5th second (the first input operation), the system immediately interrupts the current POST "disk check" process and pauses the progress bar update in the original layer. Responding to the user input, the "GPT partition table automatic repair" program is executed, and the floating layer updates to "Repairing GPT partition table... (30%)". After the repair is complete, the floating layer displays "Repair successful, process will continue," and automatically closes after 2 seconds. Finally, the POST process resumes, the original layer continues updating, and the progress bar resumes checking the hard drive from the paused point (e.g., 85%) until completion.

[0096] If the user does not perform any operation within 10 seconds, the timer triggers the timeout mechanism. The system determines that the user has "ignored" the event by default, automatically closes the floating layer, and does not perform any repair operations. The POST process is unaffected, the original layer continues to update, and after the hard drive test is completed, the original layer is updated with the message "Warning: There are slight inconsistencies in the GPT partition table. Manual repair is recommended." Then, the system proceeds to the next test stage, such as the startup item test.

[0097] This application embodiment uses a timeout exit mechanism, which allows the system to autonomously determine whether to continue waiting for user input. This ensures that the system will not experience interface lag or process delays due to user non-response, thereby effectively avoiding interface freezing or process interruption and improving the stability and robustness of the system.

[0098] In some embodiments, the display method provided in this application further includes: Step S41: If all instructions in the power-on self-test phase have been executed, check whether the timers corresponding to each floating layer have timed out. Step S42: If the timer corresponding to the first floating layer has not expired and no user input is obtained, then the system startup is blocked until the timer corresponding to the first floating layer expires or user input is obtained.

[0099] The first floating layer is any floating layer in the currently displayed interface used to obtain user input.

[0100] Understandably, if multiple pop-up events occur during the system's power-on self-test phase, corresponding floating layers can be generated for each event, and an independent timer can be assigned to each floating layer to control its lifecycle and response behavior. This approach ensures that the system manages different layers independently, avoiding mutual interference.

[0101] After the system completes the Power-On Self-Test (POST), the system will enter the system initialization process. During this process, if there is an unclosed floating layer that is associated with user input, such as the first floating layer in this embodiment, the system will check the status of the timer bound to that floating layer.

[0102] If all timers show as expired, it indicates that the user has not performed any operation, and the system can continue the startup process. If there are timers that have not yet expired, the system can further determine whether user input has been received. If no user input has been received, the system startup can be blocked to ensure that the user has a chance to respond to the first floating layer. By setting up the above mechanism, the system can avoid incorrect startup due to failure to process critical user interactions.

[0103] It should be noted that for floating layers that do not require user input, such as those used only to display prompts for pop-up events, they can be automatically closed without waiting for user feedback. In this embodiment, after the system completes the power-on self-test (POST), it can focus only on the state of the first floating layer with input interaction capabilities and the timer bound to that floating layer.

[0104] In this embodiment, by introducing a timer mechanism and dynamically judging the state of the floating layer, flexible control during the system startup process is achieved, which can effectively avoid system anomalies caused by the user's failure to respond in a timely manner, thereby improving the stability and reliability of system operation and further optimizing the overall startup efficiency of the system.

[0105] In some embodiments, step 103: displaying a floating layer in the first display area includes: Step S51: If there are at least two floating layers, then receive the user's second input operation; Step S52: Determine the second floating layer selected by the user based on the second input operation; Step S53: Display the second floating layer in the first display area, and set the other floating layers (excluding the second floating layer) to a hidden state.

[0106] In this embodiment, if multiple pop-up events occur during the system power-on self-test phase, corresponding floating layers can be generated for each of these events. It is understood that each floating layer has a certain display time; therefore, multiple floating layers may exist simultaneously on the current screen. Figure 3 As shown in this embodiment, each floating layer can be numbered, and the total number of floating layers currently existing on the screen, as well as the number of the current floating layer, can be displayed in a preset area of ​​the floating layer (such as the lower left corner or the upper right corner).

[0107] Users can switch between floating layers using external input devices to view different information.

[0108] At this point, the system waits for the user to perform a second input operation. This second input operation can be a selection operation achieved through hotkeys, mouse clicks, touchscreen swipes, etc. A hotkey is a predefined keyboard shortcut used to quickly trigger a specific function or operation. In this embodiment, the user can switch between floating layers by pressing a preset hotkey, eliminating the need for complex operation procedures and improving interaction efficiency.

[0109] Upon receiving the user's second input, the system identifies which floating layer the user intends to switch to. For example, the user can switch between different floating windows by pressing preset hotkeys (such as F1, F2, etc.) or by clicking the corresponding layer number with the mouse to select the target layer. The system will mark the floating layer selected by the user as the second floating layer and make it visible in subsequent steps, displaying the second floating layer in the first display area.

[0110] Furthermore, the system will hide all floating layers except the second floating layer. For example, it can minimize the other floating layers to the taskbar at the bottom of the screen, run them in the background, or set their opacity to 0, making them invisible. This embodiment hides all floating layers except the second, avoiding visual interference caused by multiple floating layers displaying simultaneously. Since these hidden floating layers are not displayed in the primary display area of ​​the screen, they do not need to participate in pixel blending calculations, thus reducing the graphics processing burden, helping to reduce screen information overload, and optimizing system resource utilization.

[0111] In this embodiment, the system determines whether at least two floating layers exist and receives a second input operation from the user. Based on this second input operation, the system determines the second floating layer selected by the user, displays the second floating layer in the first display area, and hides the other floating layers. Through this method, the system can ensure that users can still clearly obtain the information they need in a multi-layered environment, thereby reducing information occlusion problems, achieving precise control over multi-layered information, and further improving the display efficiency during system startup.

[0112] In some embodiments, the display method provided in this application further includes: Step S61: Obtain the user's third input operation; Step S62: Based on the third input operation, determine at least one of the transparency parameter and the display style of the floating layer.

[0113] The third input operation can include interactive operations related to the floating window in the system startup interface issued by the user through peripherals (such as keyboard, touchpad, mouse). For example, pressing a hotkey, entering a specific command, clicking or dragging an interactive control displayed on the screen, etc.

[0114] In this embodiment, real-time adjustment of the transparency parameter corresponding to the pop-up window time and the display style of the floating layer is supported. The transparency parameter controls the transparency of the background or text information of the floating layer, typically expressed as a percentage ranging from 0% to 100%, where 0% represents complete transparency and 100% represents complete opacity. The transparency parameter can be adjusted independently for both the background and text information, achieving a more flexible visual effect. The display style of the floating layer includes, but is not limited to, the layer's position, shape, border style, font size, and color configuration. Users can customize the transparency parameter and the display style of the floating layer through third-party input operations, thereby optimizing the display effect and improving the user experience.

[0115] It should be noted that the third input operation in this embodiment does not block the system startup process and does not affect the normal operation of the POST stage.

[0116] In this embodiment of the application, by allowing users to adjust the transparency parameters and display style of the floating layer in real time during system startup, the visualization effect of the interface can be enhanced, meeting the personalized needs of different users for the display interface.

[0117] The display method provided in this application will be illustrated below through a specific embodiment. Specifically, the display method provided in this application embodiment may include steps 201 to 210: Step 201: During the system power-on self-test phase, respond to the pop-up event on the current display interface and determine the first display area corresponding to the pop-up event.

[0118] Step 202: If the first display area overlaps with the second display area corresponding to the original layer currently being displayed, perform pixel blending processing on the pixel data corresponding to the overlapping area based on the transparency parameter to generate target pixel data.

[0119] Step 203: Generate a floating layer based on the target pixel data and display the floating layer in the first display area.

[0120] Step 204: Obtain the event type of the pop-up event.

[0121] Step 205: If the event type is a blocking event, then under the condition that the preset blocking conditions are met, the power-on self-test process of the system is blocked and the update of the original layer is stopped. The process corresponding to the pop-up event is executed, and the floating layer is updated based on the processing status of the pop-up event.

[0122] Step 206: If the event type is a non-blocking event, then during the system power-on self-test, update the original layer and the floating layer based on the system operation information.

[0123] Step 207: If the event type is a non-blocking event and the processing flow corresponding to the pop-up event is related to user input, when the floating layer is displayed in the first display area, start the timer and listen for the user's first input operation in the system background.

[0124] Step 208: If the timer does not time out and the first input operation is detected, interrupt the system's power-on self-test process and respond to the first input operation.

[0125] Step 209: If the timer times out and the first input operation is not detected, then close the floating layer.

[0126] If all instructions in the power-on self-test phase have been executed, then check whether the timers corresponding to each floating layer have timed out.

[0127] Step 210: If the timer corresponding to the first floating layer has not expired and no user input is obtained, then block the system startup until the timer corresponding to the first floating layer expires or user input is obtained.

[0128] For a detailed description of the above steps, please refer to the corresponding embodiments described above. The embodiments in this application will not be described in detail here.

[0129] Below, we will use two typical scenarios in the POST phase, taking "blocking events (CPU fan failure)" and "non-blocking events (RAM disk partitioning prompt)" as examples, to illustrate the processing of steps 201 to 210 above.

[0130] When the computer boots up and enters POST (Power-On Testing), it sequentially checks the CPU, fan, memory, hard drive, and external devices. The original layer (the second display area is full screen) dynamically displays the testing progress. Assume the following two pop-up events occur during the POST phase: Blocking event: CPU fan not detected (fatal failure, event type "blocking"), pop-up message: "Error: CPU fan not detected! Continuing to start may cause overheating, force start? [Yes / No]".

[0131] Non-blocking event: An unallocated partition was detected on the external hard drive (non-fatal, event type is "non-blocking"). The pop-up window says: "Unallocated partition found. Initialize immediately? [Yes (Y) / No (N)]", and the timer is set to 15 seconds.

[0132] POST detects no signal from the CPU fan, generates a pop-up event, and determines the first display area as a rectangular area of ​​400×250 pixels in the center of the screen.

[0133] A partitioning issue with the external hard drive was detected shortly afterward, generating another pop-up event that confirmed the first display area as a 200×150 pixel rectangular area in the lower right corner of the screen.

[0134] For obstructive pop-ups: The first display area (center) overlaps with the original layer (full screen), and the original layer displays "CPU detection complete, detecting fan...". Assuming an opacity parameter of 50%, pixel blending calculations are performed: the pop-up's red background RGB(255,0,0) × 50% + the original layer's black background RGB(0,0,0) × 50%, resulting in a dark red RGB(127,0,0) background; the white text in the pop-up and the white text in the original layer, after pixel blending, still retain a white color value.

[0135] For non-blocking pop-ups: the first display area (bottom right corner) overlaps with the "Press F2 to enter settings" text at the bottom of the original layer, with an opacity parameter of 30%. After blending, the pop-up's light gray background and the original text are faintly visible.

[0136] The system displays a floating layer of the obstructive pop-up (dark red background + white text) in the center, and a floating layer of the non-obstructive pop-up (light gray background + black text) in the lower right corner. The two belong to different layers and do not obscure each other.

[0137] The system identifies CPU fan events as "blocking events" and external hard drive partition events as "non-blocking events".

[0138] Assume the preset blocking condition is a fatal hardware failure (such as a fan stopping) requiring user confirmation before proceeding. Once the blocking condition is met, the system blocks the POST process, the original layer stops updating, and the system remains on the "Fan detection failed" screen, then proceeds to the fan failure handling process. The floating layer updates the user input status in real time, such as "Waiting for user selection...".

[0139] If the user presses "No", the floating layer displays "The system will be shut down to protect the hardware", and then the computer shuts down; if the user presses "Yes", the floating layer displays "Forced startup mode is enabled", closes after 5 seconds, the POST process resumes, and memory testing continues.

[0140] During the non-blocking pop-up display, the POST process proceeds normally, and the original layer continues to update to "Memory detection in progress (30%)" and "Disk detection in progress (50%)". The floating layer synchronously displays a countdown, such as "Default will not initialize in 15 seconds...".

[0141] When a non-blocking pop-up is displayed, start a 15-second timer and listen for keyboard input ("Y" / "N") in the background.

[0142] If the user presses "Y" at the 10th second, the system interrupts the POST process (pauses memory detection) and performs partition initialization: the floating layer updates to "Initializing partition... (60%)", and displays "Initialization successful" and closes after completion; the POST process resumes, and the original layer continues to update from "Memory detection (30%)".

[0143] If there is no input within 15 seconds, the timer expires, the non-blocking floating layer automatically closes, the POST process is unaffected, and the original layer continues to update until "Detection complete".

[0144] Assuming that the timer for the non-blocking pop-up window has not expired when all POST commands have finished executing, and if the user does not operate, there are still 5 seconds left on the countdown. The system will block the startup process and not enter the operating system. It will wait until the timer expires, then automatically close the pop-up window and enter the system. Alternatively, if the user input is obtained before the timer expires, such as pressing "N", the pop-up window will close and the system will enter.

[0145] The display method provided in this application introduces a floating layer during the system power-on self-test phase, achieving non-blocking display of pop-ups. Specifically, after detecting a pop-up event, the system determines the first display area corresponding to the pop-up event. If there is overlap with the original layer, a pixel blending algorithm is used to generate target pixel data. A floating layer is generated and displayed based on the target pixel data, and the original layer and / or the floating layer are independently updated according to system operation information. Since the original layer and the floating layer are at different layer levels, the system controls the coexistence of the original layer and the floating layer, ensuring the integrity of the information in the original layer while enabling flexible display of the pop-up content. This provides richer interactive methods without blocking system startup, improving display effects and system startup efficiency.

[0146] Based on the above embodiments, in another embodiment of this application, Figure 6 This is a schematic diagram of the composition structure of the display device proposed in an embodiment of this application. The display device is applied to a transmitting end device, such as... Figure 6 As shown, the display device 600 proposed in this application embodiment may include: The determination module 601 is used to determine the first display area corresponding to the pop-up event in response to the pop-up event on the current display interface during the system power-on self-test phase. The generation module 602 is used to generate target pixel data by performing pixel blending processing on the pixel data corresponding to the overlapping area based on the transparency parameter if there is an overlapping area between the first display area and the second display area corresponding to the original layer currently displayed. Display module 603 is used to generate a floating layer based on target pixel data and display the floating layer in the first display area; Update module 604 is used to update the original layer and / or the floating layer based on system running information; the original layer and the floating layer are at different layer levels.

[0147] In some embodiments, the overlapping area includes the first display content corresponding to the floating layer, and / or the second display content corresponding to the original layer.

[0148] In some embodiments, the generation module 602 includes: The first acquisition unit is used to acquire the first pixel set of the background image of the pop-up event in the overlapping area, the second pixel set corresponding to the text information of the pop-up event, and the third pixel set of the original layer in the overlapping area. The first pixel blending unit is used to perform pixel blending processing on the first pixel set and the third pixel set based on the first transparency parameter to obtain the background pixel set; The second pixel blending unit is used to perform pixel blending processing on the background pixel set and the second pixel set based on the second transparency parameter to obtain target pixel data; The first transparency parameter is used to determine the transparency of the background image; the second transparency parameter is used to determine the transparency of the text information.

[0149] In some embodiments, the updating module 604 includes: The second acquisition unit is used to acquire the event type of the pop-up event; The first update unit is used to block the system's power-on self-test process and stop updating the original layer if the event type is a blocking event, under the condition of meeting the preset blocking conditions, jump to execute the processing process corresponding to the pop-up event, and update the floating layer based on the processing status of the pop-up event. The second update unit is used to update the original layer and the floating layer based on the system operation information during the system power-on self-test if the event type is a non-blocking event.

[0150] In some embodiments, the display device further includes: The first processing module is used to start a timer and listen for the user's first input operation in the system background when the floating layer is displayed in the first display area if the event type is a non-blocking event and the processing flow corresponding to the pop-up event is related to user input. The second processing module is used to interrupt the system's power-on self-test process and respond to the first input operation if the timer has not expired and the first input operation is detected. The third processing module is used to close the floating layer if the timer times out and the first input operation is not detected.

[0151] In some embodiments, the display device further includes: The inspection module is used to check whether the timer corresponding to each floating layer has timed out after all instructions in the power-on self-test phase have been executed. The fourth processing module is used to block system startup if the timer corresponding to the first floating layer has not expired and no user input is obtained, until the timer corresponding to the first floating layer expires or user input is obtained. The first floating layer is any floating layer in the currently displayed interface used to obtain user input.

[0152] In some embodiments, the display module 603 includes: A receiving unit is used to receive a second input operation from the user if at least two floating layers exist. The layer determination unit is used to determine the second floating layer selected by the user based on the second input operation. The display unit is used to display the second floating layer in the first display area and set the other floating layers (excluding the second floating layer) to a hidden state.

[0153] In some embodiments, the display device further includes: The input module is used to obtain third-party input from the user; The display parameter determination module is used to determine at least one of the transparency parameter and the display style of the floating layer based on a third input operation.

[0154] The descriptions of the above device embodiments are similar to those of the above method embodiments, and have similar beneficial effects. For technical details not disclosed in the device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0155] It should be noted that the module division in the embodiments of this application is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, exist as separate physical units, or have two or more units integrated into one unit. The integrated units can be implemented in hardware, as software functional units, or a combination of software and hardware.

[0156] It should be noted that, in the embodiments of this application, if the above-described methods are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware and software combination.

[0157] In the embodiments of this application, further, Figure 7 This is a schematic diagram of the composition structure of the electronic device provided in the embodiments of this application, such as... Figure 7 As shown, the electronic device 70 proposed in this application embodiment may include a processor 701, a memory 702, a communication interface 703, and a bus 704 for connecting the processor 701, the memory 702, and the communication interface 703.

[0158] In the embodiments of this application, the processor 701 can be at least one of the following: Application-Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), Central Processing Unit (CPU), Controller, Microcontroller, and Microprocessor. It is understood that for different devices, the electronic device used to implement the above-mentioned processor function can also be other types, and this application embodiment does not specifically limit this. The electronic device 70 may also include a memory 702, which can be connected to the processor 701. The memory 702 is used to store executable program code, which includes computer operation instructions. The memory 702 may include high-speed RAM memory and may also include non-volatile memory, such as at least two disk drives.

[0159] In the embodiments of this application, bus 704 is used to connect communication interface 703, processor 701 and memory 702 and the mutual communication between these devices.

[0160] In practical applications, the aforementioned memory 702 can be volatile memory, such as random-access memory (RAM); or non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state drive (SSD); or a combination of the above types of memory, and provide instructions and data to the processor 701.

[0161] It should be noted that the memory 702 is configured to store instructions and applications executable by the processor 701, and can also cache data to be processed or already processed in the various modules of the processor 701 and the electronic device 70 (e.g., image data, audio data, voice communication data and video communication data), which can be implemented by flash memory or random access memory (RAM).

[0162] In this application embodiment, the type of electronic device is not limited; the electronic device can be a variety of devices with image processing capabilities. For example, the electronic device can be various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, projection devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. Head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. It should be noted that the electronic device can be a terminal device or a server.

[0163] This application also provides a computer-readable storage medium for storing computer programs.

[0164] Optionally, the computer-readable storage medium can be applied to the electronic device in the embodiments of this application, and the computer program causes the processor or electronic device to perform the various methods of the embodiments of this application, which will not be described in detail here for the sake of brevity.

[0165] This application also provides a computer program product, including computer program instructions.

[0166] Optionally, the computer program product can be applied to the electronic device in the embodiments of this application, and the computer program instructions cause the processor or electronic device to execute the various methods of the embodiments of this application. For the sake of brevity, they will not be described in detail here.

[0167] This application also provides a computer program.

[0168] Optionally, the computer program can be applied to the electronic device in the embodiments of this application. When the computer program runs on the processor or electronic device, it causes the processor or electronic device to execute the various methods in the embodiments of this application. For the sake of brevity, these will not be described in detail here.

[0169] It should be noted that the descriptions of the electronic devices, storage media, computer program products, and computer program embodiments above are similar to the descriptions of the method embodiments above, and have similar beneficial effects. For technical details not disclosed in the electronic devices, storage media, computer program products, and computer program embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0170] It should be understood that the phrases "one embodiment," "an embodiment," or "some embodiments" mentioned throughout the specification mean that a specific feature, structure, or characteristic related to an embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment," "in one embodiment," or "in some embodiments" appearing throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely for descriptive purposes and do not represent the superiority or inferiority of the embodiments. The descriptions of the various embodiments above tend to emphasize the differences between the various embodiments; their similarities or commonalities can be referred to mutually, and for the sake of brevity, they will not be repeated here.

[0171] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three kinds of relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist simultaneously, and object B exists alone.

[0172] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0173] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple modules or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or modules can be electrical, mechanical, or other forms.

[0174] The modules described above as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules. They may be located in one place or distributed across multiple network units. Some or all of the modules may be selected to achieve the purpose of this embodiment according to actual needs.

[0175] In addition, each functional module in the various embodiments of this application can be integrated into one processing unit, or each module can be a separate unit, or two or more modules can be integrated into one unit; the integrated modules can be implemented in hardware or in the form of hardware plus software functional units.

[0176] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.

[0177] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0178] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0179] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0180] The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.

[0181] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A display method, comprising: in a system power-on self-test stage, determining a first display area corresponding to a pop-up event of a current display interface in response to the pop-up event; if there is an overlapping area between the first display area and a second display area corresponding to a native layer currently displayed, performing pixel blending processing on pixel data corresponding to the overlapping area based on a transparency parameter to generate target pixel data; generating a floating layer based on the target pixel data and displaying the floating layer in the first display area; updating the native layer and / or the floating layer based on system running information; the native layer and the floating layer are in different layer levels.

2. The method of claim 1, wherein, the overlapping area includes first display content corresponding to the floating layer, and / or second display content corresponding to the native layer.

3. The method of claim 1, wherein the pixel blending processing on the pixel data corresponding to the overlapping area based on the transparency parameter to generate the target pixel data comprises: obtaining a first pixel set of a background image of the pop-up event in the overlapping area, a second pixel set of text information corresponding to the pop-up event, and a third pixel set of the native layer in the overlapping area; performing pixel blending processing on the first pixel set and the third pixel set based on a first transparency parameter to obtain a background pixel set; performing pixel blending processing on the background pixel set and the second pixel set based on a second transparency parameter to obtain the target pixel data; wherein the first transparency parameter is used to determine the transparency of the background image; and the second transparency parameter is used to determine the transparency corresponding to the text information.

4. The method of claim 1, wherein the updating of the native layer and / or the floating layer based on the system running information comprises: obtaining an event type of the pop-up event; if the event type is a blocking event, blocking a power-on self-test process of the system and stopping updating of the native layer if a preset blocking condition is met, jumping to execute a processing flow corresponding to the pop-up event, and updating the floating layer based on a processing state of the pop-up event; if the event type is a non-blocking event, updating the native layer and the floating layer based on system running information during the system power-on self-test process.

5. The method of claim 4, further comprising: if the event type is a non-blocking event and the processing flow corresponding to the pop-up event is related to user input, starting a timer when the floating layer is displayed in the first display area, and listening to a first input operation of the user in the background of the system; if the timer does not expire and the first input operation is listened to, interrupting the power-on self-test process of the system and responding to the first input operation; if the timer expires and the first input operation is not listened to, closing the floating layer.

6. The method of claim 4 or 5, further comprising: if all instructions in the power-on self-test stage are executed, checking whether a timer corresponding to each floating layer has expired. If there is no timeout of the timer corresponding to the first floating layer, and no user input is obtained, the system is blocked from starting until the timer corresponding to the first floating layer times out or user input is obtained. The first floating layer is any floating layer in the current display interface for obtaining user input.

7. The method of any one of claims 1-5, wherein the displaying the floating layer in the first display area comprises: if there are at least two floating layers, receiving a second input operation of the user; determining a second floating layer selected by the user based on the second input operation; displaying the second floating layer in the first display area and setting other floating layers in the at least two floating layers to a hidden state except the second floating layer.

8. The method of any one of claims 1-5, further comprising: obtaining a third input operation of the user; determining at least one of the transparency parameter and the display style of the floating layer based on the third input operation.

9. A display device, the device comprising: a determination module configured to determine a first display area corresponding to a pop-up event of a current display interface in a power-on self-test stage of a system; a generation module configured to perform pixel blending processing on pixel data corresponding to an overlapping area between the first display area and a second display area corresponding to an original layer of the current display if the overlapping area exists, and generate target pixel data based on the transparency parameter; a display module configured to generate a floating layer based on the target pixel data and display the floating layer in the first display area; an update module configured to update the original layer and / or the floating layer based on system running information; the original layer and the floating layer are in different layer levels.

10. An electronic device comprising a processor and a memory storing processor-executable instructions that, when executed by the processor, implement the method of any one of claims 1-8.