Interface display method, device, readable medium, chip and product

CN123011383APending Publication Date: 2026-10-30HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

[0006]即在本申请实施例中,响应用户对第一界面的第一操作(例如触控操作),针对电子设备满足的不同条件,可以显示具有不同模糊程度的界面,由于不同模糊程度处理所占用的电子设备的运行资源不同,因此,可以灵活地根据电子设备满足不同的条件来处理出不同的模糊效果,从而避免单一模糊程度可能造成的处理负载大的情况,提升电子设备界面操作的运行性能

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123011383A_ABST
    Figure CN123011383A_ABST
Patent Text Reader

Abstract

The application relates to the field of electronic technology, in particular to an interface display method, equipment, readable medium, chip and product. The method comprises the following steps: displaying a first interface, for example, an arbitrary application interface; in response to a first operation of a user on the first interface, displaying a background interface corresponding to the first interface, for example, an interface obtained by performing a certain degree of blur processing on the first interface; in the case that an electronic device meets a first condition, the background interface has a first blur degree compared with the first interface; in the case that the electronic device meets a second condition, the background interface has a second blur degree compared with the first interface, wherein the first condition and the second condition are different, and the first blur degree and the second blur degree are different. In this way, interfaces with different blur degrees can be displayed when the electronic device is in different states, and the running performance of the interface operation of the electronic device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and in particular to an interface display method, device, readable medium, chip, and product. Background Technology

[0002] Currently, electronic devices can display different interfaces based on user actions. For example, an electronic device may update the currently displayed interface or redisplay an interface in response to a user's action. In some scenarios, to improve the user experience, a blurred background interface can be created for an interface after it has been displayed. The blurred interface is an interface obtained by blurring the background.

[0003] However, blurring requires a significant workload, which may affect the performance of electronic devices, such as causing them to lag. Summary of the Invention

[0004] The purpose of this application is to provide an interface display method, device, readable medium, chip, and product to improve the operating performance of electronic device interface operation.

[0005] In a first aspect, embodiments of this application provide an interface display method applied to an electronic device, comprising: displaying a first interface; responding to a first operation by a user on the first interface and displaying a background interface corresponding to the first interface, wherein the first operation is used to instruct the electronic device to display a second interface, and the background interface has a first degree of blurring compared to the first interface when the electronic device meets a first condition; and the background interface has a second degree of blurring compared to the first interface when the electronic device meets a second condition, wherein the first condition and the second condition are different, and the first degree of blurring and the second degree of blurring are different.

[0006] In this embodiment of the application, in response to the user's first operation on the first interface (e.g., touch operation), the interface can be displayed with different degrees of blur for different conditions met by the electronic device. Since the processing of different degrees of blur consumes different operating resources of the electronic device, different blur effects can be flexibly processed according to different conditions met by the electronic device, thereby avoiding the situation that a single degree of blur may cause a large processing load and improving the operating performance of the electronic device interface.

[0007] In one possible implementation of the first aspect above, the first operation includes a sliding operation, and when the electronic device satisfies a third condition, the background interface has a third degree of blurring compared to the first interface, wherein the third degree of blurring varies with the sliding distance of the sliding operation, and the third condition is different from the first and second conditions.

[0008] In this embodiment of the application, when the electronic device meets the third condition, it can display an interface with a varying degree of blur that changes with the user's touch. For example, the blur radius increases with the increase of the swiping distance, thereby making the interface display effect more natural and improving the user experience.

[0009] In one possible implementation of the first aspect above, the first interface is a video playback interface; when the electronic device meets the third condition and the second interface is not fully displayed, the background interface is a dynamic interface based on the first interface; when the electronic device meets the third condition and the second interface is fully displayed, the background interface is a static interface based on the first interface.

[0010] In this embodiment, the first interface is a video playback interface. During the transition phase, i.e., before the second interface is fully displayed, a dynamic background interface generated based on the first interface is displayed. After the transition phase ends, i.e., when the second interface is fully displayed, a static background interface generated based on the first target frame of the first interface is displayed. This not only ensures the visual effect during interface transitions but also reduces the computational power consumption of the electronic device after the transition process ends. Furthermore, it distinguishes between the transition phase and the non-transition phase through the interface display effect, making the progress of interface transitions more intuitive for the user.

[0011] In one possible implementation of the first aspect above, the background interface is a static interface generated based on the first display content of the first interface, and the first display content is the content displayed by the first interface before the second interface is fully displayed.

[0012] In this embodiment of the application, the first display content may be the display content of the first interface in the first target frame. The first target frame may be, for example, the previous frame or the last frame before the moment when the second interface is fully displayed.

[0013] In one possible implementation of the first aspect above, the first interface is a video playback interface, and when the electronic device meets the first condition or the second condition, the background interface is a static interface generated based on the second display content of the first interface.

[0014] In this embodiment of the application, when the electronic device meets the first condition or the second condition and the first interface is a video playback interface, a static background interface generated based on the second target frame of the first interface can be displayed to reduce the computing power and load consumption of the electronic device.

[0015] In one possible implementation of the first aspect described above, the second displayed content is the content displayed on the first interface before the first operation.

[0016] In this embodiment of the application, the second display content may be the display content of the first interface in the second target frame. The second target frame may be, for example, the previous frame or the last frame before the operation time of the first operation.

[0017] In one possible implementation of the first aspect above, when the electronic device satisfies the fourth condition and the first interface is a video playback interface, the background interface has a third degree of blur compared to the first interface; wherein the fourth condition is different from the first, second, and third conditions, and the background interface is generated based on the first interface.

[0018] In this embodiment of the application, when the first interface is a video playback interface and the electronic device meets the fourth condition, a dynamic background interface generated based on the first interface can be continuously displayed, thereby ensuring the interface display effect when the load of the electronic device is low.

[0019] In one possible implementation of the first aspect described above, the background interface is not blurred compared to the first interface when the electronic device satisfies the fifth condition.

[0020] In this embodiment of the application, the displayed background interface may not be blurred, thereby minimizing the load on the electronic device caused by the interface drawing task.

[0021] In one possible implementation of the first aspect above, after displaying the background interface corresponding to the first interface, the method further includes: when the conditions satisfied by the electronic device change from the first condition to the second condition, the background interface changes from the first blur level to the second blur level.

[0022] In this embodiment of the application, condition judgment and display effect switching can be performed during the interface change process to realize real-time adjustment of the load on the electronic device.

[0023] In one possible implementation of the first aspect above, the first condition includes at least one of the following: the power information of the electronic device meets a first power range, the temperature information of the electronic device meets a first temperature range, the temperature rise information of the electronic device meets a first temperature rise range, the computing power information of the electronic device meets a first computing power range, and the scenario of the electronic device belongs to a first scenario; the second condition includes at least one of the following: the power information of the electronic device meets a second power range, the temperature information of the electronic device meets a second temperature range, the temperature rise information of the electronic device meets a second temperature rise range, the computing power information of the electronic device meets a second computing power range, and the scenario of the electronic device belongs to a second scenario; wherein, any power value within the first power range is less than any power value within the second power range, any temperature value within the first temperature range is greater than any temperature value within the second temperature range, any temperature value within the first temperature rise range is greater than any temperature value within the second temperature rise range, any computing power value within the first computing power range is less than any computing power value within the second computing power range, and the first load of the electronic device in the first scenario is greater than the second load of the electronic device in the second scenario.

[0024] In one possible implementation of the first aspect described above, the first degree of ambiguity is less than the second degree of ambiguity.

[0025] In this embodiment, the first degree of blur is less than the second degree of blur. The first condition indicates a higher device load than the second condition. Therefore, when the electronic device meets the first condition, the first degree of blur is used to display the interface, and when the electronic device meets the second condition, the second degree of blur is used to display the interface. In this way, background interfaces with different degrees of blur can be drawn when the electronic device is under different load conditions, thereby ensuring the smooth operation of the electronic device.

[0026] In one possible implementation of the first aspect above, the first condition includes at least one of the following: the power information of the electronic device meets a first power range, the temperature information of the electronic device meets a first temperature range, the temperature rise information of the electronic device meets a first temperature rise range, the computing power information of the electronic device meets a first computing power range, and the scenario of the electronic device belongs to a first scenario; the second condition includes at least one of the following: the power information of the electronic device meets a second power range, the temperature information of the electronic device meets a second temperature range, the temperature rise information of the electronic device meets a second temperature rise range, the computing power information of the electronic device meets a second computing power range, and the scenario of the electronic device belongs to a second scenario; the third condition includes at least one of the following: the power information of the electronic device meets a third power range, the temperature information of the electronic device meets a third temperature range, the temperature rise information of the electronic device meets a third temperature rise range, and the computing power information of the electronic device meets a third computing power range; the fourth condition includes at least one of the following: the power information of the electronic device meets a fourth power range, the temperature information of the electronic device meets a fourth temperature range, the temperature rise information of the electronic device meets a fourth temperature rise range, and the computing power information of the electronic device meets a fourth computing power range. The ranges are defined as follows: any power value within the first power range is less than any power value within the second power range; any power value within the second power range is less than any power value within the third power range; any power value within the third power range is less than any power value within the fourth power range; any temperature value within the first temperature range is greater than any temperature value within the second temperature range; any temperature value within the second temperature range is greater than any temperature value within the third temperature range; any temperature value within the third temperature range is greater than any temperature value within the fourth temperature range; any temperature value within the first temperature rise range is greater than any temperature value within the second temperature rise range; any temperature value within the second temperature rise range is greater than any temperature value within the third temperature rise range; any temperature value within the third temperature rise range is greater than any temperature value within the fourth temperature rise range; any computing power value within the first computing power range is less than any computing power value within the second computing power range; any computing power value within the second computing power range is less than any computing power value within the third computing power range; any computing power value within the third computing power range is less than any computing power value within the fourth computing power range; and the first load of the electronic device in the first scenario is greater than the second load of the electronic device in the second scenario.

[0027] In this embodiment of the application, the third condition can indicate a higher device load than the fourth condition. After the transition phase, the background interface corresponding to the fourth condition is a dynamic interface, while the background interface corresponding to the third condition is a static interface. Drawing a dynamic interface requires more computing power than drawing a static interface. In this way, different background interfaces can be drawn when the electronic device is under different load conditions, thereby ensuring the smooth operation of the electronic device.

[0028] In one possible implementation of the first aspect above, the first degree of ambiguity is less than the second degree of ambiguity, and the second degree of ambiguity is less than the third degree of ambiguity.

[0029] In this embodiment of the application, the first degree of blur, the second degree of blur, and the third degree of blur increase sequentially, so that when the electronic device meets different conditions, it can render the interface display effect of different degrees of blur among multiple degrees of blur, making the load adjustment of the electronic device more precise.

[0030] In one possible implementation of the first aspect above, responding to the user's first operation on the first interface and displaying the background interface corresponding to the first interface includes: responding to the completion of the first operation and displaying the background interface corresponding to the first interface, while simultaneously displaying a second interface on top of the background interface, the second interface being the control center interface.

[0031] In one possible implementation of the first aspect described above, the electronic device has a display screen that displays a first interface; the first operation is a sliding operation on the display screen, sliding down from the top of the electronic device.

[0032] In one possible implementation of the first aspect above, the control center interface includes at least a first control; when the electronic device meets the first condition, the area of ​​the first control has a target color, wherein the target color is the theme color of the electronic device, or the target color is a color based on the first interface.

[0033] In this embodiment of the application, when the electronic device meets the first condition, the first blur level of the background interface is low. To ensure the display effect of the interface, a first control of the target color can be displayed. It can be understood that if the electronic device does not meet the first condition but meets other conditions, the first control can be a default color, such as gray.

[0034] In a second aspect, this application provides an electronic device, comprising: a memory for storing one or more programs; and a processor for executing one or more programs to cause the electronic device to implement the method of the first aspect.

[0035] Thirdly, this application provides a computer-readable storage medium that stores one or more programs, which, when executed on an electronic device, cause the electronic device to implement the method of the first aspect.

[0036] Fourthly, this application provides a chip, the chip comprising: a memory for storing instructions executable by one or more processors of an electronic device, and one or more processors for performing the method as described in the first aspect.

[0037] Fifthly, this application provides a computer program product including instructions that, when executed, cause the method of the first aspect to be implemented. Attached Figure Description

[0038] Figure 1A A schematic diagram of a short video interface U11 is shown according to an embodiment of this application;

[0039] Figure 1B A schematic diagram of a background interface U12 is shown according to an embodiment of this application;

[0040] Figure 1C A schematic diagram of a background interface U13 and a control center interface U131 is shown according to an embodiment of this application;

[0041] Figure 2A A schematic diagram of a short video interface U21 is shown according to an embodiment of this application;

[0042] Figure 2B A schematic diagram of a background interface U22 is shown according to an embodiment of this application;

[0043] Figure 2C A schematic diagram of a background interface U23 is shown according to an embodiment of this application;

[0044] Figure 2D A schematic diagram of a background interface U24 and a control center interface U241 is shown according to an embodiment of this application;

[0045] Figure 2E A schematic diagram of a background interface U25 and a control center interface U251 is shown according to an embodiment of this application;

[0046] Figure 3A A schematic diagram of a short video interface U31 is shown according to an embodiment of this application;

[0047] Figure 3B A schematic diagram of a background interface U32 is shown according to an embodiment of this application;

[0048] Figure 3C A schematic diagram of a background interface U33 and a control center interface U331 is shown according to an embodiment of this application;

[0049] Figure 3D A schematic diagram of a background interface U34 and a control center interface U341 is shown according to an embodiment of this application;

[0050] Figure 4A A schematic diagram of a short video interface U41 is shown according to an embodiment of this application;

[0051] Figure 4B A schematic diagram of a background interface U42 is shown according to an embodiment of this application;

[0052] Figure 4CA schematic diagram of a background interface U43 and a control center interface U431 is shown according to an embodiment of this application;

[0053] Figure 4D A schematic diagram of a background interface U44 and a control center interface U441 is shown according to an embodiment of this application;

[0054] Figure 5 An embodiment of this application illustrates a schematic diagram of interface changes when controlling gear switching;

[0055] Figure 6 According to an embodiment of this application, another schematic diagram of interface changes during gear switching is shown;

[0056] Figure 7 A first flowchart of an interface display method is shown according to an embodiment of this application;

[0057] Figure 8 A second flowchart of an interface display method is shown according to an embodiment of this application;

[0058] Figure 9 A third flowchart of an interface display method is shown according to an embodiment of this application;

[0059] Figure 10 A software architecture block diagram of an electronic device is shown according to an embodiment of this application;

[0060] Figure 11 A schematic diagram of the hardware structure of an electronic device is shown according to an embodiment of this application. Detailed Implementation

[0061] In the embodiments of this application, the term "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, "at least one of a, b, or c" can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0062] Unless otherwise stated, the ordinal numbers such as "first" and "second" mentioned in the embodiments of this application are used to distinguish multiple objects and are not used to limit the order, sequence, priority, or importance of multiple objects. Furthermore, the terms "comprising" and "having" in the embodiments, claims, and drawings of this application are not exclusive. For example, a process, method, system, product, or device that includes a series of steps or modules is not limited to the listed steps or modules and may also include steps or modules not listed.

[0063] The illustrative embodiments of this application include, but are not limited to, interface display methods, devices, readable media, chips, and products.

[0064] It should be noted that the interface display method provided in this application embodiment can be applied to any electronic device, including but not limited to mobile station (MS) and mobile terminal (MT). For example, the electronic device can be a mobile phone, smart TV, smart wearable device, foldable screen phone, smart cockpit in-vehicle system, smart screen / TV, tablet computer, desktop computer, laptop computer, virtual reality (VR) device, VR glasses, augmented reality (AR) device, terminal in industrial control, terminal in self-driving, terminal in remote medical surgery, terminal in smart grid, terminal in transportation safety, terminal in smart city, terminal in smart home, etc. This application embodiment does not limit the specific form of the electronic device. For ease of description, a mobile phone is used as an example below.

[0065] In some embodiments, the mobile phone can respond to user operations by blurring the currently displayed interface during a transition phase and displaying the blurred interface as the background interface. After the transition phase, a target interface, including the background interface at the bottom layer and the interactive interface at the top layer, is displayed. The background interface at the bottom layer can also be an interface obtained by blurring the currently displayed interface. For example, in response to a user's long-press operation on the first icon on the desktop, the mobile phone blurs the desktop, displays the blurred desktop as the background interface, and displays the clear first icon as the target interface on top of the blurred desktop. Another example is that in response to a user's swipe-up operation on the desktop, the mobile phone blurs the desktop, displays the blurred desktop as the background interface, and displays a multitasking card as the target interface on top of the blurred desktop. Yet another example is that in response to a user's swipe-down operation on any application interface, the mobile phone can blur any application interface, display the blurred interface as the background interface, and display the control center interface as the target interface on top of the blurred interface. The above user operations are merely examples, and this application does not limit the user operations or the interface display method.

[0066] However, in some scenarios, the phone is already under high load when it detects user interaction. If a high-computation drawing task such as blurring is performed at this time, it may overload the phone and affect its performance.

[0067] The following is combined with Figures 1A to 1C One embodiment is described.

[0068] refer to Figure 1A In some scenarios, the phone 10 can display the short video interface of a short video application, which includes videos that change dynamically over time. It can be understood that the short video interface U11 is a single frame within the application's interface.

[0069] For example, mobile phone 10 detects a user's swipe down gesture on the short video interface U11, and this swipe gesture is used to indicate the display of the control center interface. For example, the swipe down gesture could be a gesture that starts from the top of mobile phone 10 and the swipe distance is greater than a distance threshold.

[0070] During the transition phase, the phone 10 can display a short video interface (e.g., Figure 1A The background interface corresponding to the short video interface U11 shown. It can be understood that the transition phase is the time period before the target interface is fully displayed, that is, the time period between time t1 when the mobile phone 10 detects the user's instruction to display the target interface and time t2 when the mobile phone 10 displays the target interface, excluding time t1 and time t2.

[0071] During the transition phase, the graphics processing unit (GPU) of the mobile phone 10 can blur the multi-frame application interface of the short video application to obtain and display a multi-frame background interface, which includes the blurred multi-frame short video. One frame of the multi-frame interface could be, for example, as shown below. Figure 1B The background interface U12 shown.

[0072] refer to Figure 1C After the transition phase, the GPU of phone 10 can draw the control center interface on top of the background interface, so the target interface displayed by phone 10 can be the control center interface U131 overlaid on top of the background interface U13 corresponding to the short video interface. The control center interface U131 includes the control icons of the control center. It can be understood that... Figure 1C This is just an example of a single frame. After the transition phase ends, the multi-frame background interface can be obtained by blurring the multi-frame application interface of the short video application. Specifically, the background interface U13 can be obtained by blurring the first frame of the short video application's interface before the end of the transition phase. After displaying the background interface U13, the phone 10 can sequentially display background interfaces obtained by blurring the application interfaces of the short video application in subsequent frames of the aforementioned frame. It can be understood that from the detection of the swipe operation to the transition phase, and until the end of the transition phase, the playback of the short video in the background interface is smooth and without lag, with only the image blurring effect changing compared to the short video interface U11.

[0073] However, when the phone 10 is under high load, if the GPU also needs to render multiple frames of background interface that require blurring, it may cause the phone 10 to be overloaded, and the phone 10 may lag during the above-mentioned interface changes.

[0074] To address the aforementioned problems, this application provides an interface display method. The electronic device displays a first interface and responds to a user's first operation (instructing the display of a second interface, such as a swipe down operation). Depending on different conditions met by the electronic device (e.g., temperature conditions, battery conditions, etc.), a background interface with varying degrees of blur is displayed. For example, the background interface can be a blurred version of the first interface; if the first interface is a short video interface, the background interface can be a blurred version of the short video interface. Furthermore, depending on the device information, the blurred degree of the transitioned short video interface differs from that of the original short video interface.

[0075] According to some embodiments, when the electronic device meets a first condition (e.g., the electronic device meets a preset power condition or temperature condition), the background interface has a first degree of blurring compared to the first interface; when the electronic device meets a second condition different from the first condition, the background interface has a second degree of blurring compared to the first interface.

[0076] It's understandable that different degrees of blurring in interface blurring require different amounts of GPU computing power. For blurring based on a fixed degree of blur, lower blur levels require less GPU computing power, while higher blur levels require more. For example, if the first degree of blur is lower than the second degree of blur, the first condition indicates that the electronic device can handle lower computing power consumption than the second condition. Therefore, the GPU computing power required for the first degree of blur is lower than that required for the second degree of blur. For instance, if device information indicates that the electronic device is overheating, the GPU's processing power decreases, leading to insufficient computing power. Therefore, a lower first degree of blur is used to reduce lag.

[0077] According to some embodiments, when the electronic device satisfies a third condition that differs from the first and second conditions, the background interface has a third degree of blurring compared to the first interface. For example, if the first operation is a swipe operation, the aforementioned third degree of blurring can vary with the swipe distance.

[0078] It's understandable that processing the interface based on dynamically changing blur levels requires more GPU computing power than processing it based on fixed blur levels. For example, a third condition indicates that the electronic device can handle higher computational power consumption compared to the first and second conditions. A dynamically changing third blur level, compared to fixed first and second blur levels, requires more GPU computing power. For instance, if device information indicates that the electronic device's temperature is low, the GPU's processing power is higher; therefore, a dynamically changing third blur level is used to ensure a smooth interface display.

[0079] In this way, different degrees of blurring can be applied to the interface that needs to be blurred (such as the application interface of the short video application mentioned above) when the electronic device is in different states. That is, the operating performance of the electronic device can be guaranteed in different scenarios, and the lag of the electronic device can be reduced.

[0080] In some embodiments, the background interface may be a dynamic interface or a static interface, depending on the different conditions met by the electronic device.

[0081] According to some embodiments, when the electronic device meets a first condition or a second condition, the background interface can be a static interface. For example, an interface obtained by blurring the first interface of the frame preceding the detection of the first operation.

[0082] According to some embodiments, when the electronic device meets the third condition, the background interface during the transition phase can be a dynamic interface, and the background interface after the transition phase can be a static interface. For example, when the first interface is a video playback interface (such as a short video interface), the background interface during the transition phase can be a dynamic interface obtained by blurring each frame of the video playback interface, resulting in a richer display effect and higher computational demands on the GPU. After the transition phase, the background interface can be an interface obtained by blurring a screenshot of the previous frame of the video playback interface at the end time t2 of the transition phase.

[0083] According to some embodiments, when the electronic device satisfies a fourth condition that differs from the first, second, and third conditions, the interface transition phase is consistent with the embodiments of the third condition described above. Furthermore, after the transition phase, the background interface remains a dynamic interface, for example, a dynamic interface obtained by blurring each frame of the video playback interface.

[0084] In some embodiments, the background interface may not be a blurred interface; for example, its blur level may be 0. For instance, if the electronic device satisfies a fifth condition, the background interface is not blurred compared to the first interface. For instance, the fifth condition may be the same as the first condition, and the first blur level may be 0.

[0085] According to some embodiments, different control levels can be set during interface changes based on different conditions met by the electronic device, thereby achieving different computing power requirements.

[0086] The following description uses the first condition to correspond to the low-end level, the second condition to the mid-range level, the third condition to the mid-range level, and the fourth condition to the high-end level. It can be understood that in this embodiment, determining that the electronic device meets the first condition indicates that it is operating at the low-end level; determining that the electronic device meets the second condition indicates that it is operating at the mid-range level; determining that the electronic device meets the third condition indicates that it is operating at the mid-range level; and determining that the electronic device meets the fourth condition indicates that it is operating at the high-end level. The computing power requirements for each control level, from highest to lowest, are: high-end, mid-range, mid-range, and low-end.

[0087] For example, at a low blur level, the background interface can have a fixed and weak blur effect, such as no blur at all (i.e., the first blur level is 0). At a medium blur level, the background interface can have a fixed blur effect, meaning the second blur level is greater than the first. At medium and high blur levels, the background interface can have a dynamically changing blur effect, such as the third blur level changing with user operation. In this way, if the electronic device is prone to lag, a lower blur level can be used to display the background transition interface, while if the device is less prone to lag, a higher blur level can be used, thus ensuring display quality while preventing device lag.

[0088] For example, the interface at low and mid-range settings is a static interface; the background transition interface at mid and high settings can be a dynamic interface. It can be understood that the visual content in a static interface is static; conversely, the visual content in a dynamic interface is dynamic. For instance, a static background interface image corresponds only to a single frame of the application interface of the first interface during the transition phase. For example, a static background interface can be obtained by the electronic device taking a screenshot of the first interface frame before the moment the user operation is detected and then blurring the screenshot. A dynamic background interface, on the other hand, corresponds to multiple frames of the application interface of the first interface during the transition phase. For example, each frame of the dynamic background interface can be obtained by the electronic device blurring each frame of the application interface of the first interface.

[0089] According to some embodiments, after the transition phase ends, the displayed target interface may include a background interface corresponding to the first interface and a second interface on top of the background interface. For example, a portion of the second interface is transparent, thus making the corresponding area of ​​the first interface visible. According to some embodiments, the content displayed on the background interface of the target interface may also differ depending on the control level. For example, at a low control level, the background interface has a weak blur effect, or no blur effect, and is a static interface; at a medium or intermediate control level, the background interface has a blur effect and is a static interface; at a high control level, the background interface has a blur effect and is a dynamic interface.

[0090] It is understood that the control levels described above are merely examples, and this application does not impose any limitations on the control levels. In other embodiments, instead of judging or applying the control levels, the interface drawing may be directly determined based on the conditions met by the device information, specifying the appropriate level of fuzziness.

[0091] According to some embodiments, the first operation can be at least one of the following: touch operation, swipe operation, voice operation, gesture operation, etc. This application does not limit the type of operation for the first operation.

[0092] The following section will take the first operation as a swipe down, the first interface as the interface of a short video application, and the second interface as the control center interface as an example, and will introduce in detail the interface changes at high, medium, mid-range, and low settings.

[0093] According to some embodiments, the execution process of the swipe operation mentioned in this application can refer to the process of swiping down from the top of the mobile phone 10, with the swipe distance increasing from 0 to a distance threshold. For example, after the swipe distance reaches the distance threshold, the touch point is deactivated, the swipe operation is completed, and the mobile phone 10 can display the control center interface. Alternatively, after the swipe distance reaches the distance threshold, the swipe operation is completed regardless of whether the touch point is deactivated, the mobile phone 10 displays the control center interface, and the subsequent operations are interactive operations on the control center interface. It should be understood that any form of swipe operation that indicates and displays the control center interface falls within the scope of protection of this application, and this application does not impose any limitations on it.

[0094] According to some embodiments, the transition phase can be the following phase, and the phase after the transition phase can be the releasing phase.

[0095] The following is combined with Figures 2A to 2E This section introduces the interface change process at higher settings.

[0096] According to some embodiments, in the high-resolution mode, the background interface corresponding to each frame of the short video interface has a blurred effect, and the degree of blurring changes with the progress of the swipe operation. For example, it becomes increasingly blurred during the follow-up operation. The blurred content is the short video content and changes with the playback progress of the short video.

[0097] refer to Figure 2A When the mobile phone 10 displays the short video interface U21 in response to the user's first operation, such as a swipe down on the short video interface U21, a background interface corresponding to the short video interface U21 may be displayed during the transition phase, such as an interface obtained by blurring the interface of the short video application. The transition phase is the time period from time t1 when the mobile phone 10 detects the first operation to time t2 when the mobile phone 10 displays the target interface, and the transition phase does not include times t1 and t2.

[0098] refer to Figure 2B and Figure 2C During the transition phase, as the swipe operation proceeds, the blurriness of the background interface can change with the progress of the first operation; for example, the blurriness can increase as the swipe distance increases. Figure 2B As shown, first, the background interface U22, obtained by blurring the short video interface U21, is displayed, with a sliding distance of x1; then, the background interface U22 is displayed as shown. Figure 2B After the background interface U22 shown, the following can be displayed: Figure 2CThe background interface U23 shown here has a sliding distance of x2, where x2 is greater than x1. Therefore, the blurriness of the background interface U23 is greater than that of the background interface U22.

[0099] According to some embodiments, the blurring method can be Gaussian blur, and the degree of blurring can be determined by the blur radius used in the blurring process. Specifically, the larger the swipe distance, the larger the blur radius, the deeper the depth of field, and the higher the degree of blurring; conversely, the smaller the swipe distance, the smaller the blur radius, the shallower the depth of field, and the lower the degree of blurring. Thus, as the degree of blur changes with the swipe operation, a depth-of-field tracking effect can be produced, resulting in a smoother visual effect. For example, the control icons in the control center can include Wi-Fi switch icons, Bluetooth switch icons, flashlight switch icons, etc., and this application does not limit this.

[0100] According to some embodiments, the blurring process can also be achieved using the Kawasaki blurring algorithm or the MESA blurring algorithm. This application does not limit the type of blurring algorithm; other algorithms capable of achieving blurring effects are all within the scope of protection of this application.

[0101] Then, the control center interface can be displayed on top of the background interface corresponding to the short video interface. For example, see reference. Figure 2D During the transition phase, the control center interface U241 can be displayed on top of the background transition interface U24. The control center interface U241 is only partially displayed, including only a portion of the control icons from the total control icons. It is understood that the control icons can fade in during the display of each frame of the control center interface; this application does not limit the display effect of the control icons.

[0102] Subsequently, reference Figure 2E Once the swipe-down operation is complete, the transition phase ends, and the control center interface U251 can be displayed on top of the background interface U25. The control center interface U251 includes the control icons. For example, the phone 10 can draw a background layer and a target layer above it, where the target layer includes the control center interface U251, and the background layer includes the background interface U25. It can be understood that the areas of the control center interface U251 other than the control icons are transparent, thus allowing the underlying background interface U25 to be partially visible.

[0103] It is understood that in this embodiment, the background interface is obtained by blurring the application interface of the short video application. During the process of the short video interface U21 changing sequentially to the background interface U22, background interface U23, background interface U24, and background interface U25, the playback of the short video in the interface is smooth and without lag, with only the image blurring effect changing. Among them, the background interface U25 can be obtained by blurring a screenshot of the application interface of the short video application in the previous frame before the end of the transition phase. After displaying the background interface U25, the mobile phone 10 can sequentially display the background interface obtained by blurring the application interface of the short video application in the subsequent frames of the aforementioned frames, so that the short video continues to play.

[0104] It is understood that the aforementioned short video interface U21, background transition interface U22, background transition interface U23, background transition interface U24, and background interface U25 are all application interfaces of the short video application. The control center interface, on the other hand, is the application interface of the desktop application.

[0105] It is understood that this application does not limit the display process of the control center interface. In some other embodiments, the control center interface may appear directly after the transition phase, that is, there is no need to draw and display the control center interface during the transition phase, and the mobile phone 10 only displays during the interface change process. Figure 2A , Figure 2B , Figure 2C , Figure 2E The interface shown is as described above. In the aforementioned embodiment, the mobile phone 10 draws multiple frames of the control center interface during the transition phase. When the control center interface is not fully displayed, it only includes some control icons, thus making the interface transition effect more natural and smooth.

[0106] It is understandable that the background interface at higher resolutions (including background interface U22, background interface U23, background interface U24, and background interface U25) can be a dynamic interface, and the visual content of the background interface can change in real time. For example, the visual content in the background interface can be a blurred short video provided by a short video application. For instance, Figures 2A to 2E The visual content of the interface can correspond to video frames at different timestamps in the short video, such as corresponding to the first, second, third, fourth, and fifth timestamps in chronological order.

[0107] The following is combined with Figures 2A to 2E This section introduces the interface changes at the mid-range settings.

[0108] According to some embodiments, in the medium setting, during the transition phase, each frame of the background interface has a blur effect, and the degree of blur changes with the execution progress of the swipe operation, while the blurred content changes with the short video playback status; after the transition phase, each frame of the background interface has a fixed blur effect, and the blurred content remains unchanged.

[0109] As an example, the interface changes of mid-range mobile phones can also be referenced. Figures 2A to 2E The illustration.

[0110] In one optional embodiment, the difference between the mid-range embodiment and the high-range embodiment described above is that, in the mid-range mode, the background interface after the transition phase is a static interface. Specifically, refer to... Figure 2E When the swipe down operation is completed and the control center interface is fully displayed, Figure 2E The background interface shown in U25 only includes static content, meaning that after the transition phase, the phone 10 can continue to display such content. Figure 2E The background interface U25 is shown. For example, the background interface U25 can be a screenshot of the application interface of a short video application. For example, in order to make the screen transition natural, the screenshot can be a screenshot of the previous frame before the moment when the first operation ends.

[0111] It is understandable that the interface change process during the transition phase at the mid-range level can be referred to the description of the implementation example for the high-range level above, and will not be repeated here.

[0112] The following is combined with Figures 3A to 3D This section introduces the interface changes at the intermediate settings.

[0113] According to some embodiments, in the secondary gear, during the execution of the swipe operation, such as in the follow-up phase, the background interface of each frame has a fixed blur effect, and the blurred content remains unchanged; after the swipe operation is completed, such as in the release phase, the background interface of each frame has a fixed blur effect, and the blurred content remains unchanged.

[0114] As an example, the interface changes of the mid-range phone 10 are as follows: Figures 3A to 3D As shown.

[0115] refer to Figure 3A Phone 10 displays the short video interface U31. In response to the user's first action, such as a swipe down on the short video interface U31, phone 10 may display the background interface corresponding to the short video interface U31 during the transition phase, such as a blurred version of the short video application's interface. The transition phase is the time period from time t1 (when phone 10 detects the first action) to time t2 (when phone 10 displays the target interface), excluding times t1 and t2.

[0116] refer to Figure 3BIn the transition interface, the phone 10 first displays a background interface U32, which is a static interface obtained by taking a screenshot of a frame from the short video interface U31 and blurring the screenshot. For example, the blurring process can be Gaussian blur, and the degree of blurring in the static interface is fixed. For example, to make the screen transition natural, the phone 10 can take a screenshot of the short video interface U31 before the detection of the swipe down operation at time t1, and blur that screenshot to obtain the background interface U32. For example, the short video interface displayed in the background interface can be paused at time t1 when the first operation is detected, or at a time before time t1 (such as the time of the frame before time t1).

[0117] Then, the control center interface can be displayed on top of the background transition interface corresponding to the short video interface. For example, see reference. Figure 3C During the transition phase, the control center interface U331 can be displayed on top of the background transition interface U33. The control center interface U331 is only partially displayed, including only a portion of the control icons from the total control icons. It is understood that the control icons can have a fade-in effect in each frame of the control center interface; this application does not limit the display effect of the control icons.

[0118] Then refer to Figure 3D Once the swipe-down operation is complete, the transition phase ends, and the control center interface U341 can be displayed on top of the background interface U34. The control center interface U341 includes the control icons for the control center. For example, the phone 10 can draw a background layer and a target layer above it, where the target layer includes the control center interface U341, and the background layer includes the background interface U34. It can be understood that after the transition phase ends, the phone 10 can continue to display... Figure 3D The background interface U34 is shown. For example, background interface U34 can be a static interface obtained by blurring a screenshot of the short video application's interface. Background interface U34 can be the same as background interface U32, and will not be described further here.

[0119] It is understandable that the control center interface U341 is transparent except for the control icons, so that the background interface U34 below can be partially revealed.

[0120] It is understood that the short video interface U31, background interface U32, background interface U33, and background interface U34 mentioned above are all application interfaces for the short video application. The control center interface, on the other hand, is the application interface for the desktop application.

[0121] It is understood that this application does not limit the display process of the control center interface. In some other embodiments, the control center interface may also appear directly at the end of the transition phase, that is, during the interface change process, the mobile phone 10 only displays... Figure 3A , Figure 3B , Figure 3D The interface shown.

[0122] The following is combined with Figures 4A to 4D This section introduces the interface changes at lower settings.

[0123] According to some embodiments, in the low-resolution mode, the background interface has no blur effect in each frame. It is understood that this embodiment is described using the absence of a blurry background interface as an example. In other embodiments, the background interface may also have a lower blur effect in the low-resolution mode, for example, the background interface may have a lower blur effect compared to the background interface in the next lower resolution mode. This application does not impose any limitations on this.

[0124] refer to Figure 4A The phone 10 displays the short video interface U41. Responding to the user's first action, such as swiping down on the short video interface U41, the phone 10 can sequentially display... Figure 4B , Figure 4C The interface shown.

[0125] refer to Figure 4B In the transition screen, the phone 10 first displays the background screen U42.

[0126] For example, the background interface U42 can be a static interface, such as a screenshot of a frame from the short video interface U41. For example, to make the screen transition natural, the mobile phone 10 can take a screenshot of the short video interface U41 in the frame preceding the time t1 when the swipe operation is detected, and then blur the screenshot to obtain the background interface U42.

[0127] For example, the background interface U42 can be a dynamic interface, such as the application interface of a short video application, which may include short videos that have not been blurred.

[0128] Then, the control center interface can be displayed on top of the background interface corresponding to the short video interface. For example, see reference. Figure 4C During the transition phase, the control center interface U431 can be displayed on top of the background interface U43, where only a portion of the control center interface U431 is displayed, including only a portion of the control icons from the total control icons. It is understood that during the display of each frame of the control center interface, the control icons in the control center interface (such as music player control switches) can have a fade-in effect; this application does not limit the display effect of the control icons.

[0129] Then refer to Figure 4DUpon completion of the swipe-down operation, the transition phase ends, and the control center interface U441 can be displayed on top of the background interface U44. For example, the phone 10 can draw a background layer and a target layer above it, where the target layer includes the control center interface U441, and the background layer includes the background interface U44. Exemplarily, the background interface U44 can be a static interface obtained by blurring a screenshot of a clear interface from a short video application. The background interface U44 can be the same as the background interface U42, which will not be elaborated here. It can be understood that the areas of the control center interface other than the control icons U441 are transparent, allowing the underlying background interface U44 to be partially visible; that is, part of the interface in the underlying background interface U44 can be displayed through the upper control center interface.

[0130] According to some embodiments, the colors of the control icons in the control center interface U431 and the control center interface U441 can correspond to the theme of the mobile phone 10, for example, the theme color of the current application theme of the mobile phone 10.

[0131] According to some embodiments, the colors of the control icons in the control center interface U431 and control center interface U441 can correspond to the colors of the short video interface U41. For example, the colors can be obtained by taking a screenshot of the short video interface U41 at time t1 before the detected swipe down operation and extracting the colors from the screenshot. For example, the color extraction method can include primary color extraction, such as using the color with the largest coverage area in the short video interface U41 as the extracted primary color. Another example is that the color extraction method can include global mean calculation, such as taking the arithmetic mean of the color values ​​of the global RGB (red, green, blue) channels of the short video interface U41 and using the color corresponding to the calculation result as the color extraction result. Yet another example is that the color extraction method can include region color extraction. This application does not limit the color extraction method.

[0132] It is understood that the aforementioned short video interface U41, background interface U42, background interface U43, and background interface U44 are all application interfaces for the short video application. The control center interface, however, is the application interface for the desktop application.

[0133] It is understood that this application does not limit the display process of the control center interface. In some other embodiments, the control center interface may appear directly, that is, the mobile phone 10 only displays during the interface change process. Figure 4A , Figure 4B , Figure 4D The interface shown.

[0134] It should be noted that this application does not limit the type of the first interface. The above embodiments use a dynamic interface, specifically a short video interface, as an example. In other embodiments, the first interface can be other dynamic interfaces, such as a news application interface. In still other embodiments, the first interface can be a static interface, in which case the background interface is also static.

[0135] In this embodiment, by providing background interfaces with different levels of blur based on device information and setting corresponding control levels according to different device states, it ensures that the device can respond to user operations in a timely manner under different load conditions. For example, when the device's computing power is insufficient, a low-level display of a simple background interface is used to avoid operation delays caused by complex rendering tasks, making user operation more sensitive and smooth. Furthermore, while ensuring the smooth operation of the electronic device, it can improve the user's visual experience during operation. For instance, at a high level, the blur level of the background interface dynamically changes with the progress of the operation, producing a depth-of-field effect that makes the visual effect more natural and smooth.

[0136] Compared to other embodiments that cannot dynamically adjust the interface display effect, the embodiments of this application can effectively reduce power consumption and improve performance smoothness. For example, in other embodiments, users need to set the interface display scheme in the settings interface, such as setting a blur effect for the background interface or applying a solid color effect. Compared to these embodiments, the embodiments of this application can dynamically adjust the display effect according to the device status, reduce power consumption when necessary, avoid device lag, and thus improve the intelligence and smoothness of interaction.

[0137] It is understood that in this embodiment of the application, the control level may include one or more of high, medium, medium, and low levels. Among them, the computing power consumption of the interface rendering task on the mobile phone 10 decreases sequentially from high to low.

[0138] According to some embodiments, high, medium, sub-medium, and low levels correspond to different conditions satisfied by the device information. At the current control level, in response to the first operation, the interface change process corresponding to the current control level can be executed.

[0139] According to some embodiments, when the device information of mobile phone 10 indicates that mobile phone 10 can handle high computing power consumption, a high-end setting can be used; when the device information of mobile phone 10 indicates that mobile phone 10 cannot handle high computing power consumption but can handle medium computing power consumption, a medium-end setting can be used; when the device information of mobile phone 10 indicates that mobile phone 10 cannot handle medium computing power consumption but can handle sub-medium computing power consumption, a sub-medium setting can be used; and when the device information of mobile phone 10 indicates that mobile phone 10 cannot handle sub-medium computing power consumption, a low-end setting can be used.

[0140] The following describes how to determine the control gear based on equipment information.

[0141] For example, the device information includes power information, and the correspondence between the power conditions satisfied by the power information and the control level can be shown in Table 1 below.

[0142] Table 1. Relationship between Power Conditions and Control Levels

[0143]

[0144]

[0145] According to one embodiment, the battery level information can be sequentially determined to meet the requirements of high, medium, mid-range, and low levels. Specifically, when the battery level is >80%, the high level is applied; otherwise, when the battery level is >50%, the medium level is applied; otherwise, when the battery level is >20%, the low-to-medium level is applied; otherwise, when the battery level is ≤20%, the low level is applied.

[0146] According to some embodiments, the conditions met by the electronic device can also be determined based on the mode in which the mobile phone is in, and a control level can be applied at the same time. For example, when the mobile phone 10 is in power saving mode, a low level is applied regardless of the battery level.

[0147] It should be noted that the above power conditions are for illustrative purposes only, and this application does not limit the specific power values ​​in the power conditions.

[0148] In this embodiment, a higher power setting is used when the battery is high and a lower power setting is used when the battery is low. This can ensure the display effect of the interface while preventing the electronic device from running out of power too quickly.

[0149] For example, the device information includes temperature information, and the correspondence between the temperature conditions satisfied by the temperature information and the control level can be shown in Table 2 below.

[0150] Table 2. Correspondence between Temperature Conditions and Control Levels

[0151]

[0152] According to one embodiment, the system can sequentially determine whether the temperature information meets the requirements of a high, medium, mid-range, or low setting. Specifically, when the temperature is <37°C or the temperature rise in 5 minutes is <3°C, the high setting is applied; otherwise, when the temperature is <39°C or the temperature rise in 5 minutes is <5°C, the medium setting is applied; otherwise, when the temperature is <40°C or the temperature rise in 5 minutes is <7°C, the low setting is applied; otherwise, when the temperature is <42°C or the temperature rise in 5 minutes is <10°C, the low setting is applied. Here, temperature rise refers to the increase in temperature of the electronic device within a preset time period. The above embodiment uses a preset time of 5 minutes as an example, but this application does not limit the specific value of the preset time.

[0153] It should be noted that the above temperature conditions are for illustrative purposes only, and this application does not limit the specific temperature values, specific temperature rise times, or specific temperature rise values ​​in the temperature conditions.

[0154] In this embodiment, a higher setting is used when the temperature is high or the temperature rises, and a lower setting is used when the temperature is low or the temperature rises. This can ensure the interface display effect while preventing the electronic device from overheating or overheating too quickly.

[0155] For example, the device information includes computing power information, such as computing power information obtained from testing under the Manhattan test model, like frame rate (frames per second, FPS). The correspondence between the computing power conditions satisfied by the frame rate and the control levels can be shown in Table 3 below.

[0156] Table 3. Correspondence between computing power conditions and control levels

[0157] MHT FPS>120 MHT FPS>90 MHT FPS>60 MHT FPS>30 High-end Mid-range mid-to-low range low gear

[0158] According to one embodiment, the frame rate can be sequentially determined to be high, medium, mid-range, or low. Specifically, when MHT FPS > 120, high is applied; otherwise, when MHT FPS > 90, medium is applied; otherwise, when MHT FPS > 60, low to medium is applied; otherwise, when MHT FPS > 30, low is applied.

[0159] For example, computing power information may also include machine model information. This application does not limit the type of information in computing power information.

[0160] In this embodiment, a higher power level is used when the computing power of the machine is high, and a lower power level is used when the computing power of the machine is low. This can ensure the display effect of the interface while preventing the computing power from being overloaded.

[0161] For example, the device information includes scene information, and the correspondence between the scene indicated by the scene information and the control level can be shown in Table 4 below.

[0162] Table 4: Correspondence between Scenarios and Control Gear Levels

[0163]

[0164]

[0165] According to one embodiment, when the scene information indicates any of the above-mentioned scenes, the corresponding gear for that scene can be applied.

[0166] When the first interface is the gallery application interface and displays HDR images, it can choose from the medium, mid-range, or low HDR settings. For example, the appropriate setting can be determined based on the configuration information in the configuration file.

[0167] The first interface is the camera application interface, and when the camera is recording video, you can choose from the medium, mid, or low settings. For example, you can determine which setting to use based on the configuration information in the configuration file.

[0168] When the application starts or exits, you can choose one of the following settings: medium, mid, or low. For example, you can determine which setting to use based on the configuration information in the configuration file.

[0169] When expanding or collapsing a large folder, you can choose from the highest, second-highest, or lowest control level. For example, you can determine which control level to apply based on the configuration information in the configuration file.

[0170] A low setting can be applied when the game application is running or when the system detects that the user is playing a game.

[0171] When the map application is running and navigation is initiated, you can choose from the highest, second-lowest, or lowest speed setting. For example, the specific speed setting can be determined based on the configuration information in the configuration file.

[0172] When the live streaming app is running and broadcasting, you can use a low-power setting.

[0173] When making a video call, you can use a low setting.

[0174] When using multi-window or small-window displays, a lower resolution can be applied.

[0175] When playing high-definition videos, a lower resolution can be applied.

[0176] According to some embodiments, the scene can be identified by an application on the mobile phone 10, or by the mobile phone 10 identifying the display interface, or by the mobile phone 10 identifying the scene by detecting system events. For example, for the aforementioned recording scene, the camera application can identify that it is currently recording, or the mobile phone 10 can identify the recording interface to determine that the current scene is a recording scene, or the mobile phone 10 can detect a system event corresponding to the recording to determine that the current scene is a recording scene.

[0177] In this embodiment, different speed levels can be used for different scenarios to ensure the smooth operation of electronic devices in different scenarios.

[0178] According to some embodiments, the number or type of device information may include multiple types, such as one or more of power information, temperature information, computing power information, and scene information.

[0179] The following describes an embodiment of a method for determining the control level of mobile phone 10, taking the case of multiple device information items as an example.

[0180] According to some embodiments, the gear corresponding to each device information in multiple device information can be determined, thereby obtaining multiple candidate gears, and then the lowest gear is selected from the multiple candidate gears as the control gear to be applied.

[0181] For example, the device information includes power information, temperature information, computing power information, and scene information. The power information corresponds to the first level, the temperature information corresponds to the second level, the computing power information corresponds to the third level, and the scene information corresponds to the fourth level. Therefore, the lowest level among the first, second, third, and fourth levels can be used as the final control level to be applied.

[0182] For example, if the first, second, and third gears are high gears, and the fourth gear is a low gear, then the control gear can be set to low gear and applied.

[0183] According to some embodiments, the control level can change in real time as the device information of the mobile phone 10 changes. Correspondingly, the interface displayed on the mobile phone 10 also changes with the change of control level.

[0184] For example, during the execution of the first operation, the background interface can change as the control gear changes.

[0185] For example, refer to Figure 5When the control level changes from a high to a low level, the blur level of the background interface can change from changing to remaining unchanged, and the blur level can decrease. For example, starting from time t1 when the first operation is detected, while the short video in the background interface continues to play, the blur level of the background interface gradually increases until time t3 when the control level change is detected, and the phone displays as shown below. Figure 5 The background interface U51 is shown. As the control gear changes to a lower gear, at time t3, the background interface U51 with a blur level greater than 0 switches to the background interface U52 with a blur level of 0, and the short video stops playing. That is, after time t3, the phone 10 continues to display the background interface U52 with a blur level of 0 until the transition phase ends.

[0186] For example, after the first operation is completed, the control center interface and the background interface below the control center interface can change as the control level changes.

[0187] For example, refer to Figure 6 When the control gear changes from low to medium, the background interface can change from unblurred to blurred; that is, the background interface U61 with a blur level of 0 switches to the background interface U62 with a blur level greater than 0. Furthermore, the control colors in the control center interface can change from the target color in control center interface U611 to the default color in control center interface U621.

[0188] It should be noted that the above two embodiments are merely illustrative, and this application does not limit the switching method of the control gear. In other embodiments, the control gear can be switched between any two of the four control gears: high, medium, sub-medium, and low.

[0189] The control levels, corresponding interface changes or display effects, device information, and judgment conditions mentioned in this application embodiment can all be configured through a configuration file. For example, the device information can also be configured to include GPU load information. The GPU load information indicates that the heavier the load, the lower the corresponding control level, thereby preventing stuttering caused by GPU overload.

[0190] In this embodiment, different control levels are set to rationally allocate the device's computing power, power, and other resources. When the device is unstable or resources are scarce, the control level is lowered to reduce unnecessary drawing tasks, avoid excessive resource consumption, and ensure the stable operation of the overall device performance. Furthermore, it can automatically switch to a lower display level in scenarios where the device is prone to lag, effectively preventing and mitigating device lag caused by excessive interface drawing complexity, thus improving the device's smoothness and reliability. Conversely, it automatically switches to a higher display level when the device is less prone to lag, providing users with the best possible visual experience.

[0191] The following is combined with Figure 7 This application provides an exemplary flow of an interface display method according to an embodiment.

[0192] like Figure 7 As shown, the exemplary process includes the following steps.

[0193] S101: Display the first interface.

[0194] For example, the first interface can be the interface of a system application, such as the desktop or settings interface. Alternatively, the first interface can be the interface of a third-party application; for instance, the first interface may include dynamic content, such as the interface of a short video application. For example, the first interface can be one of the aforementioned short video interfaces U11, U21, U31, and U41.

[0195] S102: In response to the user's first operation on the first interface, display the background interface corresponding to the first interface, wherein the first operation is used to instruct the electronic device to display the second interface.

[0196] According to some embodiments, the first operation on the first interface can be at least one of the following operations: touch operation, swipe operation, voice operation, gesture operation, etc.

[0197] For example, the first interface is the desktop, and the first operation can be a long press operation by the user on the first icon on the desktop. The first operation instructs the electronic device to blur the desktop, thereby displaying the blurred desktop as the background interface. For example, the first operation may also instruct the display of a second interface (such as a control center interface) with a clear first icon (such as a control icon) on top of the blurred desktop, that is, to display the target interface including the upper second interface and the background interface corresponding to the lower first interface. The display method of the first icon may include fade-in, gradual in, pop-in, zoom in, sudden appearance, etc., and this application does not limit it.

[0198] For example, the first interface can be any application interface, the first operation can be a user swiping up on any application interface, the first operation instructs the electronic device to blur the desktop, thereby displaying the blurred desktop and displaying a multitasking card on top of the blurred desktop.

[0199] For example, the first interface can be any application interface, the first operation can be a user's swipe down operation on any application interface, the first operation instructs the electronic device to blur the arbitrary application interface, display the blurred interface obtained by blurring, and display the control center interface on the top layer of the blurred interface.

[0200] It is understood that the above first operation is only an example, and this application does not limit the first operation or the interface display method of the first operation instruction.

[0201] According to some embodiments, an electronic device has a display screen that displays a first interface; a first operation is a sliding operation on the display screen, sliding downwards from the top of the electronic device. The first operation is also used to indicate that a target interface is displayed after a transition phase, wherein the target interface includes a second interface and a background interface corresponding to the first interface. In this embodiment, the method further includes: in response to the completion of the first operation, displaying the background interface corresponding to the first interface, and simultaneously displaying the second interface on top of the background interface. The second interface may be, for example, a control center interface, such as the aforementioned control center interface U131, control center interface U251, control center interface U341, and control center interface U441. The background interface corresponds to the first interface and is located below the second interface. The background interface may be, for example, the application interface of a short video application, such as the aforementioned background interface U44, or an interface obtained by blurring the application interface of a short video application, such as the aforementioned background interface U13, background interface U25, and background interface U34.

[0202] It is understood that the background interface can be the first interface or an interface obtained by blurring the first interface. For example, the first interface is a video playback interface, such as a short video interface, and the background interface can be the application interface of the short video application in the transition stage, such as the aforementioned background interface U42 and background interface U43; or, for another example, the background interface can be a blurred interface obtained by blurring the application interface of the short video application in the transition stage, such as the aforementioned background interface U12, background interface U22, background interface U23, background interface U24, background interface U32, and background interface U33.

[0203] According to one embodiment, in response to a first operation, the electronic device displays a background interface corresponding to the first interface based on conditions satisfied by the electronic device. For example, the information satisfied by the electronic device can be determined based on one or more device information, which can be one or more of the following: battery information, temperature information, computing power information, and scene information.

[0204] The optional embodiments of the first condition and the second condition are described below.

[0205] According to one embodiment, the first condition includes at least one of the following: the power information of the electronic device meets a first power range, the temperature information of the electronic device meets a first temperature range, the temperature rise information of the electronic device meets a first temperature rise range, the computing power information of the electronic device meets a first computing power range, and the scene of the electronic device belongs to a first scene.

[0206] The second condition includes at least one of the following: the power information of the electronic device meets the second power range, the temperature information of the electronic device meets the second temperature range, the temperature rise information of the electronic device meets the second temperature rise range, the computing power information of the electronic device meets the second computing power range, and the scene of the electronic device belongs to the second scene.

[0207] For example, the first battery level range can be a battery level less than a first battery level value, and the second battery level range can be a battery level greater than the first battery level value and less than or equal to the second battery level value. The first battery level value is less than the second battery level value. For example, the first battery level value is 20%, and the second battery level value is 50%. It is understood that this application does not limit the values ​​of the first battery level value and the second battery level value.

[0208] For example, the first temperature range can be a temperature less than a first temperature value and greater than or equal to a second temperature value; the second temperature range can be a temperature less than a second temperature value and greater than or equal to a third temperature value; the first temperature rise range can be a temperature rise within a preset time period less than a first temperature rise value and greater than or equal to a second temperature rise value; and the second temperature rise range can be a temperature rise within a preset time period less than a second temperature rise value and greater than or equal to a third temperature rise value. Wherein, the first temperature value is greater than the second temperature value, the second temperature value is greater than the third temperature value, the first temperature rise value is greater than the second temperature rise value, and the second temperature rise value is greater than the third temperature rise value. For example, the first temperature value is 42℃, the second temperature value is 40℃, and the third temperature value is 39℃; the first temperature rise value is 10℃, the second temperature rise value is 7℃, and the third temperature rise value is 5℃. It is understood that this application does not limit the values ​​of the aforementioned first temperature value, second temperature value, third temperature value, first temperature rise value, second temperature rise value, and third temperature rise value.

[0209] For example, the computing power information includes frame rate information under preset test conditions (such as MHT test). The first computing power range is where the frame rate information is greater than a first frame rate and less than or equal to a second frame rate, and the second computing power range is where the frame rate information is greater than the second frame rate and less than or equal to a third frame rate. Wherein, the first frame rate is less than the second frame rate, and the second frame rate is less than the third frame rate. For example, the first frame rate is 30, the second frame rate is 60, and the third frame rate is 90. This application does not limit the value of the frame rate.

[0210] For example, the first scenario includes at least one of the following scenarios: gaming scenario, live streaming scenario, video call scenario, application multi-window display scenario, application small-window display scenario, and high-definition video playback scenario. The second scenario includes at least one of the following scenarios: scenario information indicates that the electronic device is in at least one of the following scenarios: high dynamic range (HDR) image display scenario, video recording scenario, application startup or exit scenario, folder expansion or collapse scenario, and map navigation scenario. This application does not limit the first and second scenarios; both the first scenario and the second scenario, where the load on the electronic device is higher than the load on the electronic device in the second scenario, are within the protection scope of this application.

[0211] It is understood that this application does not limit the specific values ​​or information of the above-mentioned power range, temperature range, temperature rise range, computing power range, and scenario. The following conditions must be met to fall within the protection scope of this application: any power value in the first power range is less than any power value in the second power range; any temperature value in the first temperature range is greater than any temperature value in the second temperature range; any temperature value in the first temperature rise range is greater than any temperature value in the second temperature rise range; any computing power value in the first computing power range is less than any computing power value in the second computing power range; and the first load of the electronic device in the first scenario is greater than the second load of the electronic device in the second scenario.

[0212] In this embodiment, the first degree of blur is less than the second degree of blur. The first condition indicates a higher device load than the second condition. Therefore, when the electronic device meets the first condition, the first degree of blur is used to display the interface, and when the electronic device meets the second condition, the second degree of blur is used to display the interface. In this way, background interfaces with different degrees of blur can be drawn when the electronic device is under different load conditions, thereby ensuring the smooth operation of the electronic device.

[0213] The optional embodiments of the third and fourth conditions are described below.

[0214] According to one embodiment, the third condition includes at least one of the following: the power information of the electronic device meets a third power range, the temperature information of the electronic device meets a third temperature range, the temperature rise information of the electronic device meets a third temperature rise range, the computing power information of the electronic device meets a third computing power range, and the scene of the electronic device belongs to a third scene.

[0215] The fourth condition includes at least one of the following: the power information of the electronic device meets the fourth power range, the temperature information of the electronic device meets the fourth temperature range, the temperature rise information of the electronic device meets the fourth temperature rise range, the computing power information of the electronic device meets the fourth computing power range, and the scenario of the electronic device belongs to the fourth scenario.

[0216] For example, the third battery level range can be a battery level greater than the second battery level and less than or equal to the third battery level, and the fourth battery level range can be a battery level greater than the third battery level. The second battery level is less than the third battery level. For example, the second battery level is 50%, and the third battery level is 80%. It is understood that this application does not limit the values ​​of the second and third battery levels.

[0217] For example, the third temperature range can be a temperature less than a third temperature value and greater than or equal to a fourth temperature value, the fourth temperature range can be a temperature less than a fourth temperature value, the third temperature rise range can be a temperature rise within a preset time that is less than a third temperature rise value and greater than or equal to a fourth temperature rise value, and the fourth temperature rise range can be a temperature rise within a preset time that is less than a fourth temperature rise value. Wherein, the third temperature value is greater than the fourth temperature value, and the third temperature rise value is greater than the fourth temperature rise value. For example, the first temperature value is 42℃, the second temperature value is 40℃, the third temperature value is 39℃, and the fourth temperature value is 37℃; the first temperature rise value is 10℃, the second temperature rise value is 7℃, the third temperature rise value is 5℃, and the fourth temperature rise value is 3℃. It is understood that this application does not limit the values ​​of the aforementioned first temperature value, second temperature value, third temperature value, fourth temperature value, first temperature rise value, second temperature rise value, third temperature rise value, and fourth temperature rise value.

[0218] For example, the computing power information includes frame rate information under preset test conditions (such as MHT test). The third computing power range is where the frame rate information is greater than the third frame rate and less than or equal to the fourth frame rate, and the fourth computing power range is where the frame rate information is greater than the fourth frame rate. The fourth frame rate is less than the third frame rate. For example, the third frame rate is 90 and the fourth frame rate is 120. This application does not limit the value of the frame rate.

[0219] It is understood that this application does not limit the above-mentioned power range, temperature range, temperature rise range, and computing power range. The following conditions must be met to fall within the scope of protection of this application: any power value in the second power range is less than any power value in the third power range; any power value in the third power range is less than any power value in the fourth power range; any temperature value in the second temperature range is greater than any temperature value in the third temperature range; any temperature value in the third temperature range is greater than any temperature value in the fourth temperature range; any temperature value in the second temperature rise range is greater than any temperature value in the third temperature rise range; any temperature value in the third temperature rise range is greater than any temperature value in the fourth temperature rise range; any computing power value in the second computing power range is less than any computing power value in the third computing power range; any computing power value in the third computing power range is less than any computing power value in the fourth computing power range.

[0220] In this embodiment, the third condition indicates a higher device load than the fourth condition. After the transition phase, the background interface corresponding to the fourth condition is a dynamic interface, while the background interface corresponding to the third condition is a static interface. Drawing a dynamic interface requires more GPU computing power than drawing a static interface. This allows different background interfaces to be drawn when the electronic device is under different load conditions, thereby ensuring the smooth operation of the electronic device.

[0221] It can be understood that the first condition above corresponds to the low gear, the second condition to the mid-range gear, the third condition to the mid gear, and the fourth condition to the high gear. For a detailed explanation of how to determine the conditions based on each device's information, please refer to the explanations in Tables 1-4 above; they will not be repeated here.

[0222] According to some embodiments, the device information of an electronic device includes multiple pieces of information, such as temperature information, power information, computing power information, and scene information. A condition satisfied by a particular device information can be determined based on the conditions satisfied by each piece of device information. For example, the priority of judging the first, second, third, and fourth conditions decreases sequentially. For instance, if one piece of device information satisfies the first condition, then the device information is determined to satisfy the first condition; otherwise, if one piece of device information satisfies the second condition, then the device information is determined to satisfy the second condition; otherwise, if one piece of device information satisfies the third condition, then the device information is determined to satisfy the third condition; otherwise, the device information satisfies the fourth condition.

[0223] The following description considers two quantities of device information, for example, the device information includes first device information and second device information. In this embodiment, it can be determined that the first device information satisfies a first target condition, and the second device information satisfies a second target condition. The condition with higher priority than the first target condition is determined to be the condition satisfied by the device information. For example, if the first target condition is the first condition and the second target condition is the second condition, then the first condition with higher priority is determined to be the condition satisfied by the device information.

[0224] The following describes several specific embodiments of displaying the background interface corresponding to the first interface based on the conditions satisfied by the device information of the electronic device.

[0225] For example, when the electronic device meets a first condition, the background interface has a first degree of blurriness compared to the first interface. For example, if the first degree of blurriness of the background interface is 0, then the background interface is the clear first interface, such as background interface U42 and background interface U43.

[0226] For example, the control center interface includes at least a first control, namely the control icon described above. When the electronic device meets a first condition, the area of ​​the first control may have a target color. For example, the target color may be the theme color of the electronic device. Alternatively, the target color may be a color based on the first interface, such as a color obtained by sampling the color of the first interface.

[0227] For example, when the electronic device meets the second condition, the background interface has a second degree of blur compared to the first interface. The first and second conditions are different; for example, the first condition could be a judgment condition corresponding to a low-level setting, and the second condition could be a judgment condition corresponding to a mid-level setting. The first and second degrees of blur are also different; for example, the first degree of blur can be 0, and the second degree of blur can be greater than 0; or, for example, both the first and second degrees of blur are greater than 0, and the first degree of blur is less than the second degree of blur. For example, the background interface can be the aforementioned background interface U32 or background interface U33.

[0228] For example, when the electronic device meets either the first condition or the second condition, the background interface is a static interface generated based on the second display content of the first interface, wherein the second display content is the display content of the first interface in the aforementioned second target frame. For example, the second display content is a screenshot of the first interface (such as a video playback interface) in the target frame (i.e., the second target frame). According to some embodiments, the second target frame is the frame before the first operation. For example, the second target frame is the frame preceding the first operation, that is, the second display content is the content displayed by the first interface before the first operation.

[0229] For details regarding the interface change process corresponding to the first condition, please refer to the previous description of the low-end setting. For details regarding the interface change process corresponding to the second condition, please refer to the previous description of the mid-range setting. These details will not be repeated here. In some other embodiments, when the electronic device meets either the first or second condition, the background interface can also be a dynamic interface. For example, the first interface is a video playback interface, and the background interface is an interface obtained by blurring the video playback interface.

[0230] For example, when the electronic device meets a third condition, the background interface has a dynamically changing third degree of blur compared to the first interface, wherein the first operation is a sliding operation, and the third degree of blur varies with the sliding distance of the sliding operation. According to some embodiments, the third degree of blur is greater than the second degree of blur.

[0231] It is understandable that during the transition, the greater the sliding distance, the greater the degree of blurring, and the more blurred the background interface becomes. For example, the background interface can include dynamic content. For instance, if the first interface is a video playback interface, the background interface can be a blurred version of the video playback interface, including the short video being played. That is, when the second interface is not fully displayed, the background interface can be a dynamic interface based on the first interface, which can include multiple image frames. For example, the background interface can be the aforementioned background interface U12, background interface U22, background interface U23, and background interface U24.

[0232] For example, when the electronic device satisfies the third condition and the second interface is fully displayed, the electronic device can display a background interface. The blur level and blurred content of the background interface are fixed, and the fixed blur level is the third blur level of the background interface at time t2 when the swipe operation is completed. That is, when the second interface is fully displayed, the background interface can be a static interface generated based on the first display content of the first interface, where the first display content can be, for example, the display content of the first interface in a target frame (i.e., the first target frame), where the first target frame is a frame before the second interface is fully displayed. For example, the first target frame is the frame before the time when the second interface is fully displayed, that is, the first display content is the content of the first interface before the second interface is fully displayed.

[0233] For details regarding the interface changes corresponding to the third condition, please refer to the previous section on the mid-range settings; these details will not be repeated here.

[0234] For example, when the electronic device satisfies the fourth condition, the background interface also has a dynamically changing third degree of blur compared to the first interface, where the first operation is, for example, a sliding operation, and the third degree of blur changes with the sliding distance of the sliding operation. A description of the third degree of blur can be found in the foregoing embodiments, and will not be repeated here. It is understood that when the first interface is a dynamic interface, the background interface remains a dynamic interface regardless of whether the transition phase has ended. For example, if the first interface is a video playback interface, the background interface can be a multi-frame blurred interface obtained by blurring multiple frames of the video playback interface; that is, the background interface is generated based on the first interface.

[0235] For details regarding the interface changes corresponding to the fourth condition, please refer to the previous section on higher-level settings; these details will not be repeated here.

[0236] It is understood that this application does not limit the conditions met by the electronic device or the control levels of the application. In some embodiments, when the electronic device meets the fifth condition, the background interface is not blurred compared to the first interface. For example, the fifth condition may be different from the first, second, and third conditions. Alternatively, the fifth condition may be the same as the first condition, and the first blur level may be 0.

[0237] According to some embodiments, after the first operation, i.e., after the background interface corresponding to the first interface is displayed, if the conditions satisfied by the device information change, for example, causing a change in the control level, the currently displayed background interface can also be updated. Exemplarily, the method further includes: when the conditions satisfied by the electronic device change from the current conditions to the target conditions, switching from displaying the background interface corresponding to the current conditions to displaying the background interface corresponding to the target conditions, wherein the current conditions and the target conditions are different.

[0238] For example, when the conditions met by the electronic device change from a first condition to a second condition, the background interface changes from a first level of blur to a second level of blur. For example, refer to... Figure 6 When the control gear changes from low gear to medium gear, the background interface can change from unblurred to blurred, that is, the background interface U61 with a blur level greater than 0 switches to the background interface U62 with a blur level of 0.

[0239] The interface display method of this application embodiment flexibly adjusts the background blur level according to device conditions, which can adapt to devices with different performance and improve visual effects and smoothness. Moreover, by associating the target frame with a specific frame before the operation, the interface switching can be ensured to be smooth. Furthermore, when the device information meets the switching conditions, the interface display is dynamically adjusted, the interface element settings are optimized, the adaptability and coordination are enhanced, the user's operation convenience and experience satisfaction are improved, and an intelligent interface presentation effect is achieved.

[0240] According to some embodiments, the first interface is a dynamic interface. When the electronic device meets the second condition (corresponding to the secondary level), a screenshot of the target frame's interface can be taken and blurred to obtain the background interface.

[0241] The following is combined with Figure 8 This section introduces an exemplary process for taking screenshots of a user interface display method. For example... Figure 8 As shown, the exemplary process includes:

[0242] S201: Obtain a screenshot of the first interface of the target frame.

[0243] According to some embodiments, a screenshot of the interface of the first interface in the previous frame at the execution time of the first operation can be taken for subsequent blurring processing.

[0244] S202: Blur the screenshot to obtain a blurred screenshot.

[0245] According to some embodiments, the blurring process can be Gaussian blur.

[0246] According to some embodiments, a screenshot can be blurred based on a preset blur radius to obtain a blurred screenshot.

[0247] S203: Set the blurred screenshot as the background interface.

[0248] According to some embodiments, during the transition phase, the blurred screenshot obtained in S202 can be set as the background interface. For example, the blurred screenshot can be set as... Figure 3B The background interface shown is U32, or Figure 3C The background interface shown is U33.

[0249] According to other embodiments, after the transition phase ends, the blurred screenshot can be set as the background interface. For example, the blurred screenshot can be set as... Figure 3D The background interface shown is U34.

[0250] As another example, when the electronic device meets the third condition, in response to the first operation, a dynamic background interface can be displayed; in response to the completion of the first operation, the display of the dynamic background interface can be switched to displaying a static background interface. In this embodiment, a screenshot of the background interface of the last frame can be taken and used as the static background interface. For example, ... Figure 2D The screenshot of the last frame of the background interface U24 shown is used as... Figure 2E The background interface shown is U25.

[0251] The embodiments of this application obtain the background interface by taking a screenshot and blurring it. Using the target frame as a reference, the continuity of interface switching can be ensured, and user visual discomfort can be avoided.

[0252] According to some embodiments, when the electronic device meets a first condition (corresponding to a low level), the control icons in the control center may have a target color, for example, the target color may be determined by sampling the color of the first interface or based on the theme color of the electronic device.

[0253] The following is combined with Figure 9 This paper introduces an exemplary flow of a method for determining the target color in an interface display method. For example... Figure 9 As shown, the exemplary process includes:

[0254] S301: Obtain the theme color of the electronic device as the first alternative color.

[0255] According to some embodiments, the theme color of an electronic device, such as the main color of the theme, can be obtained as a first alternative color.

[0256] S302: Take a screenshot of the first interface of the target frame.

[0257] According to some embodiments, a screenshot of the interface of the first interface in the previous frame at the execution time of the first operation can be taken for subsequent color picking processing.

[0258] S303: Select a color from the screenshot of the first interface and use it as the second alternative color.

[0259] According to some embodiments, a color can be sampled from a screenshot of the first interface, and the sampled color can be used as a second alternative color.

[0260] For example, the screenshot of the first interface can be divided into multiple images, and the dominant color of each image can be calculated. Then, the dominant colors of the multiple images can be averaged to obtain the color selection result, which can be used as the second candidate color. For example, the number of multiple images can be nine, and this application embodiment does not limit the number of equal divisions.

[0261] S304: Select either the first alternative color or the second alternative color as the target color.

[0262] According to some embodiments, a first alternative color, a second alternative color, and a text color can be compared, and the color with the greater contrast to the text color can be determined as the target color. For example, if the first alternative color is black, the second alternative color is gray, and the text color is black, since gray and black are significantly different, the second alternative color can be determined as the target color.

[0263] According to some embodiments, after the target color is determined, a control icon representing the target color can be displayed. For example, Figure 3C The control center interface shown includes some controls U431 and Figure 3D The color of all controls U441 in the control center interface shown can be the target color.

[0264] It is understandable that S301-S304 above can be partially executed. For example, if only S301 is executed and S302-S303 are not executed, the first alternative color can be determined as the target color in S304. As another example, if only S302-S303 are executed and S301 is not executed, the second alternative color can be determined as the target color in S304.

[0265] The interface display method of this application obtains candidate colors through various means and selects a color with a high contrast to the text as the target color, making the control icons clearer. This method combines flexibility and adaptability, improving the user experience while enhancing the aesthetics and consistency of the interface, meeting the needs of different users and scenarios.

[0266] The electronic device provided in this application embodiment can run an operating system (OS). This operating system can be various operating systems used in industry, such as an operating system developed based on OpenHarmony, for example... Or other operating systems, such as Mobile operating system; it can also be various open-source operating systems or their derivatives, such as Linux. This includes other embedded operating systems; it can also refer to future new operating systems, such as AI operating systems based on artificial intelligence. An operating system is a set of interconnected system software programs that manage and control the operation of electronic devices, utilize and run hardware and software resources, and provide public services to organize user interaction. In electronic devices, the operating system connects downwards to the physical devices at the hardware layer and upwards to provide a runtime environment for application software.

[0267] The following is The software architecture of the electronic device provided in this application embodiment is introduced as an example.

[0268] refer to Figure 10 The software architecture of electronic devices can be divided into several layers. In some embodiments, from bottom to top, these layers are: kernel layer, system service layer, framework layer, and application layer. Layers communicate with each other through software interfaces. System functions can be tailored, added, or combined at the subsystem level depending on the deployment scenario of different device forms. Each subsystem can also be tailored, added, or combined at the functional level.

[0269] The Kernel Abstraction Layer (KAL) provides basic kernel capabilities to upper layers by shielding the differences between multiple kernels, including but not limited to process / thread management, memory management, file system, network management, and peripheral device management.

[0270] Kernel Subsystem: Supports the selection of a suitable OS kernel for different resource-constrained devices, including but not limited to Linux kernel, HarmonyOS kernel, LiteOS (Lite Operating System), etc.

[0271] Driver Subsystem: The driver framework is the foundation for the open system hardware ecosystem, providing unified peripheral access capabilities and a framework for driver development and management. The driver framework includes: display drivers, camera drivers, audio drivers, Bluetooth drivers, sensor drivers, etc.

[0272] Hardware sensing layer: This includes system-on-a-chip (SoC) temperature sensors and board temperature sensors, which are used to sense the SoC temperature and board temperature, respectively, and report them to the temperature sensing module of the framework event processing layer, so that the temperature sensing module can calculate the temperature of the electronic device based on the SoC temperature and board temperature.

[0273] The system service layer comprises the core capabilities of the system, providing services to applications through the framework layer. This layer includes, but is not limited to, the following subsystems:

[0274] The system's basic capability subsystem set provides fundamental capabilities for the operation, scheduling, and migration of distributed applications across multiple devices. This set may include distributed soft bus, distributed data management, distributed task scheduling, and Ark multi-language runtime; it may also include multi-modal input subsystem, graphics subsystem, security subsystem, and AI subsystem.

[0275] Basic software service subsystem set: provides public and general software services; the basic software service subsystem set may include event notification subsystem, telephone service subsystem, multimedia subsystem, etc.

[0276] Enhanced software service subsystem suite: Provides differentiated enhanced software services for different devices; the enhanced software service subsystem suite may include smart screen proprietary business subsystem, wearable proprietary business subsystem, IoT proprietary business subsystem, etc.

[0277] Hardware service subsystem set: Provides hardware services; the hardware service subsystem set may include location service subsystem, user IAM (Identity and Access Management) subsystem, wearable proprietary hardware service subsystem, biometric identification, IoT proprietary hardware service subsystem, etc.

[0278] Distributed task scheduling enables distributed service management (discovery, synchronization, registration, and invocation), supporting remote startup, remote invocation, remote connection, and migration of applications across devices.

[0279] Distributed data management enables data synchronization, data storage, data sharing, and data access across all scenarios and devices.

[0280] The distributed soft bus provides communication-related capabilities for seamless interconnection between multiple devices, including: wireless local area network (WLAN) service capabilities, Bluetooth service capabilities, soft bus, inter-process communication (Remote Procedure Call, RPC), and StarFlash communication capabilities.

[0281] Ark Multilingual Runtime is a unified compilation runtime platform designed to support the joint compilation and execution of multiple programming languages ​​and multiple chip platforms.

[0282] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The framework layer includes: the ArkUI framework (which provides a complete infrastructure for UI development of system applications, including UI functions such as components, layouts, animations, and interactive events, as well as a real-time interface preview tool), the user application framework, and the Ability framework (an Ability is a lightweight application; the Ability framework schedules and manages the operation and lifecycle of Abilities). Different devices may have different operating systems, and the APIs they support may also differ.

[0283] The framework layer also includes a framework event processing layer, which includes a scene recognition module, a device hierarchical management module, a temperature sensing module, and a battery management module.

[0284] For example, the scene recognition module can receive system event notifications, including events such as application launch, page entry, small window display, and multi-window display. Thus, when the scene recognition module detects a specific scene being triggered, it can send a status event to the receiver (such as a desktop application).

[0285] For example, an electronic device can call the device classification management module to obtain the current device classification (e.g., frame rate information) of the electronic device and send a status event indicating the device classification to a receiver (e.g., a desktop application).

[0286] For example, the temperature sensing module can receive sensing information reported by the temperature sensor, calculate the temperature based on the sensing information, and determine whether the temperature meets the temperature conditions. For example, it can calculate the temperature of the electronic device based on the SoC temperature reported by the SoC temperature sensor and the Board temperature reported by the Board temperature sensor. If the temperature meets the temperature conditions, it sends a status event to the receiver (such as a desktop application).

[0287] For example, the battery management module can obtain the battery level and determine whether the battery level meets the requirements. If the battery level meets the requirements, it can send a status event to the receiver (such as a desktop application).

[0288] The HarmonyOS API is a series of open capabilities provided to support HarmonyOS application development. The HarmonyOS API can be set at the framework layer or independently of the framework layer. The HarmonyOS API includes the Audio API (audio service), Push API (push service), and Account API (account service), among others.

[0289] Applications can include system apps and extended / third-party apps. System apps can include the desktop, control bar, settings, contacts, phone, camera, etc., while extended / third-party apps can include social apps, travel apps, etc.

[0290] The desktop application may include a status management module and a tiered visual effects management module.

[0291] For example, the state management module can subscribe to system state events and receive state event reports from the framework layer. This could include state events reported by the scene recognition module, device hierarchical management module, temperature sensing module, or battery management module.

[0292] For example, the tiered visual effects management module can determine the tiered effects to display for different control tiers based on the current state and configuration. For instance, it can determine the current state of the electronic device based on reported status events, and then determine the control tier and its corresponding visual effects based on that state. For example, a reported power-saving mode activation event indicates that the electronic device is in a low-battery state, thus determining to apply the low tier and using the corresponding visual effects during interface changes.

[0293] The embodiments of this application can make full use of the hardware status information of the device, such as the temperature sensing module, which can prevent the interface drawing task from aggravating the device's heat generation problem. The power information of the battery management module can be used to reduce the complexity of the display effect to save power when the power is low, thus realizing the rational use and protection of hardware resources.

[0294] According to one embodiment, the electronic device can employ Figure 11 As shown in the figure.

[0295] Figure 11 A schematic diagram of the hardware structure of the electronic device 100 is shown.

[0296] As previously stated, electronic device 100 may include, but is not limited to, devices such as smartphones, smart wearable devices, desktop computers, tablets, laptops, smart speakers, digital assistants, and augmented reality (AR) / virtual reality (VR) devices. For example, electronic device 100 may be mobile phone 10.

[0297] Electronic device 100 may include processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0298] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0299] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0300] The processor 110 may also include a memory for storing instructions and data corresponding to the interface display method provided in this embodiment. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0301] In some embodiments, the processor 110 of the electronic device 100 executes an interface display method provided in this application by calling program instructions stored in the memory. For example, displaying a first interface; responding to a first operation by the user on the first interface, displaying a background interface corresponding to the first interface, wherein the first operation is used to instruct the electronic device to display a second interface, and the background interface has a first degree of blurring compared to the first interface when the electronic device meets a first condition; and the background interface has a second degree of blurring compared to the first interface when the electronic device meets a second condition, wherein the first condition and the second condition are different, and the first degree of blurring and the second degree of blurring are different.

[0302] The wireless function of electronic device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.

[0303] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0304] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.

[0305] Electronic device 100 can achieve the acquisition function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0306] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the scene being captured. In some embodiments, the ISP can be integrated into the camera 193.

[0307] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0308] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0309] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons, such as the capture button in a camera application. Electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of electronic device 100.

[0310] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This embodiment of the invention uses the layered HarmonyOS system as an example to illustrate the software structure of electronic device 100.

[0311] Accordingly, embodiments of this application provide an electronic device, including: a memory for storing instructions executed by one or more processors of the electronic device, and a processor for executing instructions of the above-described interface display method.

[0312] Accordingly, this application provides a storage medium storing instructions, which, when executed on an electronic device, cause the electronic device to perform the aforementioned interface display method.

[0313] Accordingly, this application provides a computer program product, which includes instructions that, when executed, cause the above-described interface display method to be implemented.

[0314] Accordingly, embodiments of this application provide a chip, which includes a memory for storing instructions executed by one or more processors of an electronic device, and one or more processors for executing the interface display method described above.

[0315] This specification provides the methods or processes shown in the embodiments or flowcharts, but based on conventional or non-inventive labor, more or fewer operation steps may be included. The order of steps listed in the embodiments is merely one of many execution orders and does not represent the only execution order. In actual execution, the methods or processes shown in the embodiments or drawings can be executed in sequence or in parallel (e.g., in a parallel controller or multi-threaded processing environment).

[0316] The embodiments disclosed in this application can be implemented in hardware, software, firmware, or a combination of these implementation methods. Embodiments of this application can be implemented as computer programs or program code executable on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.

[0317] Program code can be applied to input instructions to execute the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, the processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application-specific integrated circuit (ASIC), or a microprocessor.

[0318] The program code can be implemented using a high-level procedural language or an object-oriented programming language to communicate with the processing system. Assembly language or machine language can also be used when needed. In fact, the mechanisms described in this application are not limited to any particular programming language. In either case, the language can be a compiled language or an interpreted language.

[0319] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored thereon on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed via a network or through other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine-readable (e.g., computer-readable) form, including but not limited to floppy disks, optical disks, CD-ROMs, magneto-optical disks, read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic cards or optical cards, flash memory, or tangible machine-readable storage for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in the form of electrical, optical, acoustic, or other propagation signals. Therefore, machine-readable media include any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a machine-readable (e.g., computer-readable) form.

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

[0321] In the accompanying drawings, some structural or methodological 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 necessary. Rather, in some embodiments, these features may be illustrated in a manner and / or order different from that shown in the illustrative drawings. Furthermore, the inclusion of structural or methodological features in a particular drawing does not mean that all embodiments need to include such features; in some embodiments, these features may be omitted, or they may be combined with other features.

[0322] The embodiments of this application have been described in detail above with reference to the accompanying drawings. However, the use of the technical solutions of this application is not limited to the various applications mentioned in the embodiments of this patent. Various structures and modifications can be easily implemented with reference to the technical solutions of this application to achieve the various beneficial effects mentioned herein. Within the scope of knowledge possessed by those skilled in the art, all changes made without departing from the spirit of this application should be considered within the scope of this patent application.

Claims

1. A method for displaying an interface, applied to an electronic device, characterized in that, include: Display the first interface; In response to a user's first operation on the first interface, a background interface corresponding to the first interface is displayed, wherein the first operation is used to instruct the electronic device to display a second interface, and... When the electronic device meets the first condition, the background interface has a first degree of blurriness compared to the first interface; When the electronic device meets the second condition, the background interface has a second degree of blur compared to the first interface, wherein the first condition and the second condition are different, and the first degree of blur is different from the second degree of blur.

2. The method according to claim 1, characterized in that, The first operation includes a sliding operation, and When the electronic device meets the third condition, the background interface has a third degree of blur compared to the first interface, wherein the third degree of blur varies with the sliding distance of the sliding operation, and the third condition is different from the first condition and the second condition.

3. The method according to claim 2, characterized in that, The first interface is a video playback interface; When the electronic device meets the third condition and the second interface is not fully displayed, the background interface is a dynamic interface based on the first interface. When the electronic device meets the third condition and the second interface is fully displayed, the background interface is a static interface based on the first interface.

4. The method according to claim 3, characterized in that, The background interface is a static interface generated based on the first display content of the first interface, and the first display content is the content displayed by the first interface before the second interface is fully displayed.

5. The method according to claim 1 or 2, characterized in that, The first interface is a video playback interface, and When the electronic device meets the first condition or the second condition, the background interface is a static interface generated based on the second display content of the first interface.

6. The method according to claim 5, characterized in that, The second displayed content is the content displayed on the first interface before the first operation.

7. The method according to claim 2, characterized in that, When the electronic device meets the fourth condition and the first interface is a video playback interface, the background interface has a third degree of blur compared to the first interface; wherein the fourth condition is different from the first condition, the second condition, and the third condition, and the background interface is generated based on the first interface.

8. The method according to any one of claims 1-7, characterized in that, When the electronic device meets the fifth condition, the background interface is not blurred compared to the first interface.

9. The method according to any one of claims 1-8, characterized in that, After displaying the background interface corresponding to the first interface, the method further includes: When the conditions met by the electronic device change from the first condition to the second condition, the background interface changes from the first blur level to the second blur level.

10. The method according to any one of claims 1-9, characterized in that, The first condition includes at least one of the following: the power information of the electronic device meets a first power range, the temperature information of the electronic device meets a first temperature range, the temperature rise information of the electronic device meets a first temperature rise range, the computing power information of the electronic device meets a first computing power range, and the scenario of the electronic device belongs to a first scenario. The second condition includes at least one of the following: the power information of the electronic device meets the second power range, the temperature information of the electronic device meets the second temperature range, the temperature rise information of the electronic device meets the second temperature rise range, the computing power information of the electronic device meets the second computing power range, and the scenario of the electronic device belongs to the second scenario; Wherein, any power value within the first power range is less than any power value within the second power range. Any temperature value within the first temperature range is greater than any temperature value within the second temperature range. Any temperature value within the first temperature rise range is greater than any temperature value within the second temperature rise range. Any computing power value within the first computing power range is less than any computing power value within the second computing power range. In the first scenario, the first load of the electronic device is greater than the second load of the electronic device in the second scenario.

11. The method according to claim 10, characterized in that, The first degree of ambiguity is less than the second degree of ambiguity.

12. The method according to claim 7, characterized in that, The first condition includes at least one of the following: the power information of the electronic device meets a first power range, the temperature information of the electronic device meets a first temperature range, the temperature rise information of the electronic device meets a first temperature rise range, the computing power information of the electronic device meets a first computing power range, and the scenario of the electronic device belongs to a first scenario. The second condition includes at least one of the following: the power information of the electronic device meets the second power range, the temperature information of the electronic device meets the second temperature range, the temperature rise information of the electronic device meets the second temperature rise range, the computing power information of the electronic device meets the second computing power range, and the scenario of the electronic device belongs to the second scenario; The third condition includes at least one of the following: the power information of the electronic device meets a third power range, the temperature information of the electronic device meets a third temperature range, the temperature rise information of the electronic device meets a third temperature rise range, and the computing power information of the electronic device meets a third computing power range. The fourth condition includes at least one of the following: the power information of the electronic device meets the fourth power range, the temperature information of the electronic device meets the fourth temperature range, the temperature rise information of the electronic device meets the fourth temperature rise range, and the computing power information of the electronic device meets the fourth computing power range. Wherein, any power value within the first power range is less than any power value within the second power range, any power value within the second power range is less than any power value within the third power range, and any power value within the third power range is less than any power value within the fourth power range. Any temperature value within the first temperature range is greater than any temperature value within the second temperature range, any temperature value within the second temperature range is greater than any temperature value within the third temperature range, and any temperature value within the third temperature range is greater than any temperature value within the fourth temperature range. Any temperature value within the first temperature rise range is greater than any temperature value within the second temperature rise range, any temperature value within the second temperature rise range is greater than any temperature value within the third temperature rise range, and any temperature value within the third temperature rise range is greater than any temperature value within the fourth temperature rise range. Any computing power value within the first computing power range is less than any computing power value within the second computing power range, any computing power value within the second computing power range is less than any computing power value within the third computing power range, and any computing power value within the third computing power range is less than any computing power value within the fourth computing power range. In the first scenario, the first load of the electronic device is greater than the second load of the electronic device in the second scenario.

13. The method according to claim 12, characterized in that, The first degree of ambiguity is less than the second degree of ambiguity, and the second degree of ambiguity is less than the third degree of ambiguity.

14. The method according to any one of claims 1-13, characterized in that, In response to the user's first operation on the first interface, display the background interface corresponding to the first interface, including: Upon completion of the first operation, the background interface corresponding to the first interface is displayed, and a second interface, which is the control center interface, is displayed on top of the background interface.

15. The method according to claim 14, characterized in that, The electronic device has a display screen that displays the first interface; the first operation is a sliding operation on the display screen, sliding down from the top of the electronic device.

16. The method according to claim 14 or 15, characterized in that, The control center interface includes at least a first control; When the electronic device meets the first condition, the area of ​​the first control has a target color, wherein the target color is the theme color of the electronic device, or the target color is a color based on the first interface.

17. An electronic device, characterized in that, include: Memory, used to store one or more programs; A processor for executing the one or more programs to cause the electronic device to perform the method as described in any one of claims 1-16.

18. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores one or more programs that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1-16.

19. A chip, characterized in that, The chip includes: a memory for storing instructions executed by one or more processors of an electronic device, and the one or more processors for performing the method as described in any one of claims 1-16.

20. A computer program product, characterized in that, The computer program product includes instructions that, when executed, cause the method as described in any one of claims 1-16 to be implemented.