A method for displaying an application interface, an electronic device, and related media

CN122910464APending Publication Date: 2026-10-13HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202580018150.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-05-24
Filing Date
2025-05-19
Publication Date
2026-10-13

AI Technical Summary

Technical Problem

The external screen of foldable electronic devices often obscures the application interface and looks unsightly due to the punch-hole areas for cameras, thus affecting the user experience.

Method used

By adjusting the display parameters of the decoration layer, background layer, and application layer, a second interface is generated, ensuring that the camera is in the first display area and the application layer is outside the second display area. This allows the decoration layer and background layer to be displayed in the first display area, improving the aesthetics of the interface and the user experience.

Benefits of technology

This effectively prevents the application interface from being obscured, improves the user experience and the aesthetics of the interface, and ensures that users can use the functions of the target application normally.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122910464A_ABST
    Figure CN122910464A_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a method for displaying an application interface, an electronic device and related media, which are applied to an electronic device, the electronic device comprising an outer screen, a camera being arranged on the outer screen, the method comprising: displaying a first interface on the outer screen, the first interface comprising a target control of a target application; receiving a first operation instruction acting on the target control; determining display parameters of a layer set corresponding to the first operation instruction based on configuration information of the target application; in response to the first operation instruction, displaying a second interface on the outer screen based on the display parameters, the second interface comprising a first display area and a second display area, an application layer being displayed in the second display area, a decoration layer and a background layer being displayed in the first display area. By implementing the method of the present application, the decoration layer can be selectively presented to the user in combination with different operation scenarios and configuration information of different applications, thereby improving the adaptation of the decoration layer to different applications and making various application interfaces presented to the user more uniform and beautiful.
Need to check novelty before this filing date? Find Prior Art

Description

Method for displaying application interface, electronic device and related medium

[0001] The present application claims priority to Chinese Patent Application No. 202410669541.7, filed on May 24, 2024, entitled "Method for displaying application interface, electronic device and related medium", and Chinese Patent Application No. 202410659776.8, filed on May 24, 2024, entitled "Interface display method based on operation gesture, electronic device and related medium", the contents of which are incorporated herein by reference in their entirety. TECHNICAL FIELD

[0002] The present application relates to the field of computers, and in particular to a method for displaying an application interface, an electronic device, and related media. BACKGROUND

[0003] With the continuous development of flexible screens, more and more folding electronic devices with multiple screens have appeared on the market. Folding electronic devices are more portable than straight-screen electronic devices, and folding electronic devices with multiple screens can provide users with more interesting and diverse operation experiences. Currently, existing technologies can present display content such as time, date, weather, or message reminders to users on the outer screen (i.e., the screen running when the electronic device is in a folded state). For electronic devices with a large outer screen, users can also be allowed to operate part of the functions of part of the application on the outer screen. Since there are camera hole regions such as cameras in the area where the outer screen of the folding electronic device is located, when the user uses the application through the outer screen, the application interface is easily blocked, and other interface unattractive phenomena caused by the incompatibility of the application interface and the size of the outer screen, which brings users an undesirable user experience. Therefore, how to improve the coordination and aesthetics of the application interface displayed in the outer screen is a problem that needs to be solved by those skilled in the art. SUMMARY

[0004] In a first aspect, the present application provides a method for displaying an application interface, an electronic device, and related media. The method is applied to an electronic device, and the electronic device includes an outer screen. The outer screen is provided with a camera, and the outer screen is a screen for interacting with a user when the electronic device is in a folded state. The method can include:

[0005] The outer screen displays a first interface, and the first interface can include a target control of a target application;

[0006] Receiving a first operation instruction acting on the target control;

[0007] Based on the configuration information of the target application, determining the display parameters of a layer set corresponding to the first operation instruction, the layer set can include a background layer, an application layer, and a decoration layer, and the application layer contains display content corresponding to the first operation instruction;

[0008] In response to the first operation instruction, the second interface is displayed on the outer screen based on the display parameters, the second interface can include a first display area and a second display area, the camera is in the first display area and out of the second display area, the application layer is displayed in the second display area, and the decoration layer and the background layer are displayed in the first display area.

[0009] The method provided by the first aspect is implemented, and when the electronic device receives the first operation instruction of the user for the target control corresponding to the target application, the display interface (such as the second interface described above) corresponding to the first operation instruction can be determined. Further, the electronic device can determine the parameter information of each type of layer (such as the background layer, the application layer, and the decoration layer described above) corresponding to the second interface based on the first operation instruction, thereby generating the second interface, achieving the purpose of selectively presenting the decoration layer based on the demand of the user (or the demand of the target application), and helping to maximize the similar application interface layout of each application (such as presenting the decoration layer in the first display area) while ensuring the normal use of the function of the target application by the user, thereby improving the aesthetics of each application interface layout. At present, the area where the outer screen of the folding electronic device is located generally has a camera and other punch-hole areas, and when the user uses the application through the outer screen, the application interface is easily blocked, and other interface unattractive phenomena caused by the inadaptation of the application interface to the size of the outer screen, which brings the user a bad user experience. The difference is that the method of the embodiments of the present application can reasonably adjust the display parameters of the decoration layer based on the first operation instruction of the user and the configuration information of the target application, and generate the second interface based on the decoration layer, the background layer, and the application layer, which helps to achieve the purpose of allowing the user to normally use the function of the target application and improve the aesthetics of the application interface presented to the user in the case that the display content corresponding to the application interface may be blocked, and further improves the user experience.

[0010] In some embodiments of the method provided by the first aspect, the configuration information of the target application can include display parameters corresponding to a plurality of application interfaces of the target application.

[0011] Based on the configuration information of the target application, the display parameters of the layer set corresponding to the first operation instruction can include:

[0012] The target interface is determined based on the first operation instruction, and the target interface is an interface of the target application in response to the first operation instruction.

[0013] The display parameters corresponding to the target interface are determined from the display parameters corresponding to the plurality of application interfaces.

[0014] The method provided by the above-mentioned embodiments can correspond to a plurality of different application interfaces, and each application interface is provided with corresponding display parameters for the background layer, the application layer and the decoration layer. Specifically, the electronic device can determine the corresponding target interface based on the first operation instruction (it can be understood that the target interface is the interface of the target application in response to the first operation instruction), and can determine the display parameters corresponding to the target interface from the display parameters corresponding to the plurality of application interfaces, so as to avoid the situation that the display content corresponding to the target interface is blocked by the notch area, and help to ensure that the user can normally use the function of the target application.

[0015] In some embodiments of the method provided by the first aspect, the display parameters corresponding to the plurality of application interfaces can include the size, display level, display content of the background layer and the application layer in the corresponding application interface, and the display transparency of the decoration layer.

[0016] The method provided by the above-mentioned embodiments can pre-set the layer size and display level of the background layer and the application layer of different application interfaces when displayed on the outer screen, and further, the target application can also pre-set the display transparency of the decoration layer corresponding to different application interfaces, which helps to present different decoration effects under different first operation instructions (or in different application interfaces). For example, if the display content corresponding to the first application interface of the target application is not blocked by the notch area in the full-screen display (which can be understood as the entire outer screen), the display transparency of the decoration layer can be set to 100% (which can be understood as hiding the decoration layer), which helps to provide a wider application operation space or area for the user; if the display content corresponding to the second application interface of the target application is blocked by the notch area in the full-screen display (which can be understood as the entire outer screen), the size of the application layer can be set to the size of the second display area, the application layer can be displayed in the second display area, and the display transparency of the decoration layer can be set to 0% (which can be understood as displaying the decoration layer), which helps to ensure that the user can normally use the function of the target application, and also improves the aesthetics of the application interface presented to the user.

[0017] In some embodiments of the method provided by the first aspect, the display level of the decoration layer is higher than the display level of the background layer and the application layer.

[0018] If the display level of the application layer is the same as the display level of the background layer, the size of the background layer is the same as the size of the first display area.

[0019] If the display level of the application layer is higher than the display level of the background layer, the size of the background layer is greater than or equal to the size of the first display area.

[0020] The method provided by the above-mentioned embodiments can set the display level of the decoration layer to be higher than the display levels of the background layer and the application layer, which helps to display or hide the decoration layer by adjusting the transparency of the decoration layer only, and is simpler and faster than adjusting the display level of the decoration layer according to the configuration information of the target application. Further, the size of the background layer can be adaptively adjusted according to the display level relationship between the background layer and the application layer, which helps to simplify the setting complexity of the display parameters of the background layer without affecting the normal and complete display of the application interface.

[0021] The method provided by the first aspect can further include, in some embodiments, before displaying the second interface on the outer screen:

[0022] The transition interface can include the background layer, the application layer, and the decoration layer with the target transparency.

[0023] The method provided by the above-mentioned embodiments can be used to show the user a smoother and more beautiful application interface switching effect. The electronic device can display the transition interface on the outer screen based on the execution process of the dynamic effect corresponding to the first operation instruction, and present the second interface (i.e., the application interface corresponding to the first operation instruction) on the outer screen when the execution of the dynamic effect ends. The transition interface includes the background layer, the application layer, and the decoration layer with the target transparency. The target transparency can be determined based on the playing area of the dynamic effect corresponding to the first operation instruction. It can be seen that the method provided by the embodiments of the present application can adjust the decoration layer to different transparencies during the execution of the dynamic effect corresponding to the first operation instruction. For example, in response to the user clicking the icon of the target application on the desktop (which can be understood as starting the target application), the electronic device can adjust the transparency of the decoration layer to 100% (which can be understood as not displaying / hiding the decoration layer) during the execution of the dynamic effect of opening the target application, and display the decoration layer when the target application is started (which can be understood as the outer screen starts to display the home interface corresponding to the target application), so that the animation of starting the application has more levels and aesthetics.

[0024] The method provided by the first aspect can further include, in some embodiments:

[0025] If the playing area of the dynamic effect corresponding to the first operation instruction is the second display area, the target transparency is determined as the first transparency, and the first transparency is the transparency of the decoration layer in the first interface.

[0026] If the playing area of the animation effect corresponding to the first operation instruction is the entire outer screen, the target transparency is determined as the second transparency, and the second transparency is the transparency corresponding to the hidden decoration layer.

[0027] The method provided by the above embodiments can be implemented by the electronic device. In the case that the playing area of the animation effect corresponding to the first operation instruction is the second display area, the target transparency is determined as the first transparency, which helps to maintain the consistency of the application interface display, so as to achieve the purpose of presenting a more beautiful application interface to the user. The first transparency is the transparency corresponding to the decoration layer in the first interface. In the case that the playing area of the animation effect corresponding to the first operation instruction is the entire outer screen, the target transparency is determined as the second transparency, which helps to present a more smooth and hierarchical interface transition animation to the user, so as to achieve the purpose of presenting a more beautiful application interface to the user. The second transparency is the transparency corresponding to the hidden decoration layer.

[0028] The method provided by the first aspect can further include, in some embodiments:

[0029] receiving a boot-up instruction for the electronic device;

[0030] In response to the boot-up instruction, generating a decoration layer based on preset information. The preset information can include the size of the decoration layer, the display content corresponding to the decoration layer, and the initial transparency of the decoration layer. The initial transparency is the second transparency.

[0031] The method provided by the above embodiments can be implemented by the electronic device. In the case that the playing area of the animation effect corresponding to the first operation instruction is the second display area, the target transparency is determined as the first transparency, which helps to maintain the consistency of the application interface display, so as to achieve the purpose of presenting a more beautiful application interface to the user. The first transparency is the transparency corresponding to the decoration layer in the first interface. In the case that the playing area of the animation effect corresponding to the first operation instruction is the entire outer screen, the target transparency is determined as the second transparency, which helps to present a more smooth and hierarchical interface transition animation to the user, so as to achieve the purpose of presenting a more beautiful application interface to the user. The second transparency is the transparency corresponding to the hidden decoration layer.

[0032] The method provided by the first aspect can further include, in some embodiments:

[0033] In response to the first operation instruction, generating a background layer and an application layer based on the display parameters;

[0034] Adjusting the initial transparency of the decoration layer to the display transparency based on the display parameters;

[0035] Generating the second interface based on the background layer, the application layer, and the decoration layer;

[0036] displaying the second interface on the outer screen.

[0037] According to the method provided in the above embodiment, after receiving the first operation instruction of the target application, the electronic device can generate the corresponding background layer and application layer based on the display parameters corresponding to the first operation instruction, and can also adjust the transparency of the decoration layer from the initial transparency to the display transparency based on the display parameters corresponding to the first operation instruction. It can be seen that the various display parameters of the background layer and the application layer are related to the configuration information of the target application, but the configuration information of the target application only affects the transparency of the decoration layer and does not affect the size, display level and display content of the decoration layer, which helps to make the same decoration layer appear for different application interfaces, ensures that the electronic device presents the application interface in the outer screen with similarity and coordination, and achieves the purpose of presenting a more beautiful application interface for the user.

[0038] According to the method provided in the first aspect, in some embodiments, the method can further include:

[0039] When the target application is downloaded in the electronic device or when the target application runs to the target node, an information description file corresponding to the target application is acquired;

[0040] The configuration information of the target application is determined based on the information description file.

[0041] According to the method provided in the above embodiment, the electronic device can acquire the information description file corresponding to the target application when the target application is downloaded or when the target application runs to the target node, so as to determine the configuration information corresponding to the target application. It can be understood that the electronic device can acquire the configuration information configured statically by the target application, so as to determine the display state (display or hide) of the subsequent decoration layer in the second interface; the electronic device can also acquire the configuration information configured dynamically by the target application, so as to determine the display state (display or hide) of the subsequent decoration layer in the second interface.

[0042] According to the method provided in the first aspect, in some embodiments, the outer screen includes a first operation area, and the method can further include:

[0043] The first application interface of the target application is displayed on the outer screen, the first application interface is one of a plurality of application interfaces corresponding to the target application, and the first application interface corresponds to the first layer set;

[0044] The second operation instruction acting on the first application interface is received;

[0045] When the starting point of the motion track of the second operation instruction is in the first operation area, a target layer is generated, the target layer is a display layer corresponding to the desktop of the outer screen, and a display level of the target layer is lower than a display level of each layer in the first layer set;

[0046] If the motion track meets the preset condition, the desktop is displayed on the outer screen based on the target layer.

[0047] If the motion track does not meet the preset condition, the target layer is cleared, and a second application interface corresponding to the second operation instruction is displayed on the outer screen.

[0048] The method provided in the above embodiment can be implemented by the electronic device. Specifically, the electronic device can determine the foreground application of the electronic device based on the starting point of the motion trajectory corresponding to the user operation instruction. Specifically, the first operation area exists on the outer screen of the electronic device. When the electronic device receives the second operation instruction acting on the first application interface of the target application, if the starting point of the motion trajectory corresponding to the second operation instruction is within the first operation area, the target layer can be generated, and the display level of the target layer is set to be lower than the display level of each layer in the first layer set, so that the target layer is not perceived by the user. Further, if the motion trajectory corresponding to the second operation instruction meets the preset condition, it can be considered that the user's intention for the second operation instruction is to return to the desktop of the outer screen, so that the desktop can be displayed on the outer screen based on the target layer; if the motion trajectory corresponding to the second operation instruction does not meet the preset condition, it can be considered that the user's intention for the second operation instruction is to use the related function of the target application, so that the target layer is cleared, and the second application interface corresponding to the operation instruction is displayed on the outer screen. At present, the folding electronic device does not have a step of judging the operation gesture. When the function control of the third-party application is located in the first operation area, the electronic device is easy to misidentify the real operation intention of the user. For example, if the user wants to use the timing function of the clock application (the first button corresponding to the design function is located in the first operation area), when the user clicks the first button, the electronic device may identify that the user wants to return to the desktop, and directly display the desktop on the outer screen, so that the user cannot normally use the timing function of the clock application. Different from the prior art, the method provided in the embodiment of the present application can confirm the real operation intention of the user based on the motion trajectory of the operation instruction. For example, if the user wants to use the timing function of the clock application (the first button corresponding to the design function is located in the first operation area), when the user clicks the first button, the electronic device determines the desktop of the outer screen as the foreground application, and generates the target layer corresponding to the above desktop, but the electronic device does not directly present the target layer (which can be understood as the desktop of the outer screen) to the user, but sets the display level of the target layer to be lower than the display level of each layer corresponding to the first application interface. Further, since the user only clicks the first button (which can be considered as a point corresponding to the motion trajectory of the operation instruction), the motion trajectory corresponding to the operation instruction does not meet the preset condition (it is assumed that the preset condition is that the touch point corresponding to the motion trajectory is slid from the first operation area to the center position of the outer screen), so it can be considered that the operation intention of the user is to use the timing function, so that the application interface corresponding to the timing function can be presented to the user on the outer screen, thereby improving the accuracy of operation intention recognition and effectively improving the user experience.

[0049] In some embodiments of the method provided in the first aspect, the outer screen further comprises a second operation area, and the first operation area is located at the bottom of the outer screen, and the second operation area is located at the top of the outer screen.

[0050] The preset condition is that the touch point corresponding to the motion track is slid from the first operation area to a center position of the second operation area.

[0051] The method provided in the above embodiment is implemented, and the electronic device can determine the real operation intention of the user based on the motion track corresponding to the operation instruction, effectively avoiding the conflict between the function operation mode of the third-party application and the function operation mode of the electronic device system, and improving the user experience.

[0052] The method provided in the first aspect is implemented, and in some embodiments, the method can further include:

[0053] If the motion track meets the preset condition, the desktop is displayed on the outer screen based on the decoration layer and the target layer, the transparency of the decoration layer is a second transparency, the second transparency is the transparency corresponding to the hidden decoration layer, and the size of the target layer is the same as the size of the outer screen.

[0054] The method provided in the above embodiment is implemented, and the electronic device can hide the decoration layer while presenting the above desktop to the user, thereby avoiding the case that the content of the desktop is blocked. It should be noted that in the case that the display content corresponding to the application interface can be blocked, the electronic device can adjust the transparency of the decoration layer and the size of the application layer to achieve the purpose of enabling the user to normally use the function of the target application, and improve the aesthetics of the target window.

[0055] The method provided in the first aspect is implemented, and in some embodiments, the second application interface corresponds to a second layer set, the second layer set includes a decoration layer, a background layer, and a second application layer, and the second application layer is used to display the display content corresponding to the operation instruction.

[0056] The method can further include:

[0057] If the motion track does not meet the preset condition, the target layer is cleared, and the display parameters of the second layer set are determined based on the configuration information of the target application, the display parameters of the second layer set include the size, display level, display content of the background layer and the second application layer, and the display transparency of the decoration layer.

[0058] In response to the second operation instruction, the background layer and the second application layer are generated based on the display parameters of the second layer set.

[0059] The transparency of the decoration layer is adjusted to the corresponding display transparency based on the display parameters of the second layer set.

[0060] The second application interface is generated based on the background layer, the second application layer, and the decoration layer.

[0061] The second application interface is displayed on the outer screen.

[0062] If the motion track does not meet the preset condition, it can be considered that the operation intention of the user is to use a certain function of the target application, so that the corresponding background layer and the second application layer can be generated based on the display parameters corresponding to the operation instruction, and the transparency of the decoration layer can be adjusted to the display transparency based on the display parameters corresponding to the operation instruction. It can be seen that the various display parameters of the background layer and the application layer are related to the configuration information of the target application, but the configuration information of the target application only affects the transparency of the decoration layer and does not affect the size, display level and display content of the decoration layer, which helps to present the same decoration layer for different application interfaces, ensures that the electronic device presents the application interface in the outer screen with similarity and coordination, and achieves the purpose of presenting a more beautiful application interface for the user.

[0063] In a second aspect, the embodiments of the present application provide an electronic device, which comprises an outer screen and a processing module, and the outer screen is provided with a camera;

[0064] The outer screen can be used to display a first interface, and the first interface can comprise a target control of a target application.

[0065] The outer screen can also be used to receive a first operation instruction acting on the target control.

[0066] The processing module can be used to determine display parameters of a layer set corresponding to the first operation instruction based on configuration information of the target application, the layer set can comprise a background layer, an application layer and a decoration layer, and the application layer comprises display content corresponding to the first operation instruction.

[0067] The processing module can also be used to display a second interface on the outer screen based on the display parameters in response to the first operation instruction, the second interface can comprise a first display area and a second display area, the camera is in the first display area and out of the second display area, the application layer is displayed in the second display area, and the decoration layer and the background layer are displayed in the first display area.

[0068] In some embodiments of the method provided by the second aspect, the configuration information of the target application can comprise display parameters corresponding to a plurality of application interfaces of the target application.

[0069] The electronic device can further comprise:

[0070] The processing module can also be used to determine a target interface based on the first operation instruction, the target interface being an interface of the target application in response to the first operation instruction.

[0071] The display parameters corresponding to the target interface are determined from the display parameters corresponding to the plurality of application interfaces.

[0072] In some embodiments of the method provided in the second aspect, the display parameters corresponding to the plurality of application interfaces can include sizes, display levels, display contents of background layers and application layers in the corresponding application interfaces, and display transparency of the decoration layer.

[0073] In some embodiments of the method provided in the second aspect, the display level of the decoration layer is higher than the display levels of the background layer and the application layer.

[0074] If the display level of the application layer is the same as the display level of the background layer, the size of the background layer is the same as the size of the first display area.

[0075] If the display level of the application layer is higher than the display level of the background layer, the size of the background layer is greater than or equal to the size of the first display area.

[0076] In some embodiments of the method provided in the second aspect, the electronic device can further include:

[0077] The outer screen can also be used to display the transition interface, which can include the background layer, the application layer, and the decoration layer with the target transparency.

[0078] In some embodiments of the method provided in the second aspect, the electronic device can further include:

[0079] The processing module can also be configured to determine the target transparency as the first transparency if the play area of the dynamic effect corresponding to the first operation instruction is the second display area, the first transparency being the transparency corresponding to the decoration layer in the first interface.

[0080] The processing module can also be configured to determine the target transparency as the second transparency if the play area of the dynamic effect corresponding to the first operation instruction is the entire outer screen, the second transparency being the transparency corresponding to the hidden decoration layer.

[0081] In some embodiments of the method provided in the second aspect, the electronic device can further include an interaction module.

[0082] The interaction module can be configured to receive a power-on instruction for the electronic device.

[0083] The processing module can also be configured to generate the decoration layer based on preset information in response to the power-on instruction, the preset information including a size of the decoration layer, display content corresponding to the decoration layer, and an initial transparency of the decoration layer, the initial transparency being the second transparency.

[0084] In some embodiments of the method provided in the second aspect, the electronic device can further include:

[0085] The processing module can also be configured to generate the background layer and the application layer based on the display parameter in response to the first operation instruction.

[0086] The processing module can also be configured to adjust the initial transparency of the decoration layer to the display transparency based on the display parameter.

[0087] The processing module can also be configured to generate the second interface based on the background layer, the application layer and the decoration layer.

[0088] In some embodiments of the method provided in the second aspect, the electronic device can further include:

[0089] The processing module can also be configured to acquire the information description file corresponding to the target application when the target application is downloaded in the electronic device or when the target application is run to the target node.

[0090] The processing module can also be configured to determine the configuration information of the target application based on the information description file.

[0091] In some embodiments of the method provided in the second aspect, the outer screen includes a first operation area, and the electronic device can further include:

[0092] The outer screen can also be configured to display a first application interface of the target application, the first application interface being one of a plurality of application interfaces corresponding to the target application, and the first application interface corresponding to the first layer set.

[0093] The outer screen can also be configured to receive a second operation instruction acting on the first application interface.

[0094] The processing module can also be configured to generate a target layer when a starting point of a motion trajectory of the second operation instruction is within the first operation area, the target layer being a display layer corresponding to a desktop of the outer screen, and the display level of the target layer being lower than the display level of each layer in the first layer set.

[0095] The outer screen can also be configured to display the desktop based on the target layer on the outer screen in a case where the motion trajectory meets a preset condition.

[0096] The processing module can also be configured to clear the target layer in a case where the motion trajectory does not meet the preset condition.

[0097] The outer screen can also be configured to display a second application interface corresponding to the second operation instruction in a case where the motion trajectory does not meet the preset condition.

[0098] In some embodiments of the method provided in the second aspect, the outer screen further includes a second operation area, the first operation area is located at the bottom of the outer screen, and the second operation area is located at the top of the outer screen.

[0099] The preset condition is that the touch point corresponding to the motion track is slid from the first operation area to a center position of the second operation area.

[0100] The method provided in the second aspect is implemented, and in some embodiments, the electronic device can further include:

[0101] The processing module can be further configured to display, on the outer screen, a desktop based on the decoration layer and the target layer in a case where the motion track meets the preset condition, the transparency of the decoration layer being a second transparency, the second transparency being a transparency corresponding to the hidden decoration layer, and the size of the target layer being the same as the size of the outer screen.

[0102] The method provided in the second aspect is implemented, and in some embodiments, the second application interface corresponds to a second layer set, the second layer set can include a decoration layer, a background layer and a second application layer, and the second application layer is used to display display content corresponding to the operation instruction.

[0103] The electronic device can further include:

[0104] The processing module can be further configured to, in a case where the motion track does not meet the preset condition, clear the target layer, and determine display parameters of the second layer set based on the configuration information of the target application.

[0105] The processing module can be further configured to, in response to the second operation instruction, generate the background layer and the second application layer based on the display parameters of the second layer set.

[0106] The processing module can be further configured to adjust the transparency of the decoration layer to a corresponding display transparency based on the display parameters of the second layer set.

[0107] The processing module can be further configured to generate the second application interface based on the background layer, the second application layer and the decoration layer.

[0108] The outer screen can be further configured to display the second application interface.

[0109] In a third aspect, the embodiments of the present application provide an electronic device, which includes one or more processors and one or more memories; wherein the one or more memories are coupled with the one or more processors, and the one or more memories are used to store computer program codes, the computer program codes including computer instructions, when the one or more processors execute the computer instructions, the method described in the first aspect and any possible implementation manner of the first aspect is executed.

[0110] In a fourth aspect, an embodiment of the present application provides a chip, comprising a logic circuit and an interface, the logic circuit and the interface being coupled; the interface is configured to input and / or output code instructions, and the logic circuit is configured to execute the code instructions, so that the method in the first aspect or any possible implementation manner of the first aspect is executed.

[0111] In a fifth aspect, the present application provides a computer readable storage medium comprising instructions, which, when executed on a target terminal, cause the method described in the first aspect and any possible implementation manner of the first aspect to be executed.

[0112] In a sixth aspect, the present application provides a computer program product comprising instructions, which, when executed on an electronic device, cause the electronic device to execute the method described in the first aspect and any possible implementation manner of the first aspect.

[0113] It can be understood that the electronic device provided in the second aspect and the third aspect, the chip provided in the fourth aspect, the computer readable storage medium provided in the fifth aspect, and the computer program product provided in the sixth aspect are all related to the method for image processing based on color adaptation provided in the first aspect, and can be used to execute the method provided in the present application. Therefore, the beneficial effects achieved thereby can refer to the beneficial effects of the method for image processing based on color adaptation provided in the first aspect, which will not be described here again. BRIEF DESCRIPTION OF DRAWINGS

[0114] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.

[0115] FIG. 1 is a schematic diagram of a scene of outer screen display of a folding screen mobile phone provided by the prior art.

[0116] FIG. 2 is a flowchart of a method for displaying an application interface provided by an embodiment of the present application.

[0117] FIG. 3 is a structural schematic diagram of an electronic device provided by an embodiment of the present application.

[0118] FIG. 4 is a schematic diagram of a display level relationship between a background layer and an application layer provided by an embodiment of the present application.

[0119] FIG. 5 is a flowchart of generating a decoration layer provided by an embodiment of the present application.

[0120] FIGS. 6a-6c are schematic diagrams of a scene showing a motion effect corresponding to a first operation instruction provided by an embodiment of the present application.

[0121] FIG. 7 is an execution flow diagram of a dynamic effect according to an embodiment of the present application.

[0122] FIG. 8 is a display flow diagram of a rotating interface corresponding to a decoration interface according to an embodiment of the present application.

[0123] FIG. 9 is a flow diagram of another method for displaying an application interface according to an embodiment of the present application.

[0124] FIG. 10 is a scene diagram of an outer screen operation of a folding screen mobile phone according to the prior art.

[0125] FIG. 11 is a flow diagram of an interface display method based on an operation gesture according to an embodiment of the present application.

[0126] FIG. 12 is a structure diagram of another electronic device according to an embodiment of the present application.

[0127] FIG. 13 is a scene diagram of a preset condition judgment according to an embodiment of the present application.

[0128] FIGS. 14a-14c are scene diagrams of an interface display according to an embodiment of the present application.

[0129] FIG. 15 is a scene diagram of another interface display according to an embodiment of the present application.

[0130] FIG. 16 is a flow diagram of another interface display method based on an operation gesture according to an embodiment of the present application.

[0131] FIG. 17 is a flow diagram of yet another interface display method based on an operation gesture according to an embodiment of the present application.

[0132] FIG. 18 is a composition diagram of an electronic device according to an embodiment of the present application.

[0133] FIG. 19 is a hardware structure diagram of an electronic device according to an embodiment of the present application.

[0134] FIG. 20 is a software structure block diagram according to an embodiment of the present application.

[0135] FIG. 21 is another software structure block diagram according to an embodiment of the present application. DETAILED DESCRIPTION

[0136] The technical solutions in the embodiments of the present application will be described clearly and thoroughly below with reference to the drawings. The terms used in the following embodiments of the present application are only for the purpose of describing the specific embodiments and are not intended to be limiting to the present application. As used in the specification and the appended claims of the present application, the singular forms "a," "an," and "the" are intended to include plural forms as well, unless the context clearly indicates otherwise. It should also be understood that in the description of the embodiments of the present application, "or" means either or both unless otherwise indicated. For example, "A / B" can mean A or B in the text; "and / or" in the text only describes the relationship of associated objects, which means that there can be three relationships, for example, A and / or B, which means that there are three cases of A alone, A and B together, and B alone. In addition, in the description of the embodiments of the present application, "a plurality of" means two or more than two.

[0137] Hereinafter, the terms "first" and "second" are used only for the purpose of description, and cannot be understood as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" can explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, "a plurality of" means two or more than two, unless otherwise specified.

[0138] The term "user interface (UI)" in the following embodiments of the present application is a medium interface for interaction and information exchange between an application program or an operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is source code written in a specific computer language such as Java, extensible markup language (XML), etc. The interface source code is parsed, rendered, and finally presented as content recognizable by the user on the electronic device. The commonly used form of user interface is graphic user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icon, button, menu, tab, text box, dialog box, status bar, navigation bar, Widget, etc. displayed in the display screen of the electronic device.

[0139] In order to make the description of each of the following embodiments clear and simple, first, a brief introduction of related technologies is given:

[0140] (1) Foldable phone and flexible screen

[0141] Foldable phone refers to a phone whose screen can be folded inward or outward. The screen of a foldable phone can be converted between a small size and a large size. Currently, foldable phones on the market can be designed in a book-like left-right folding manner or in an up-down folding manner. It should be noted that the mainboard and battery cannot be folded, and only the screen is folded, and the mainboard and battery are distributed in the two sides of the body.

[0142] More specifically, since the organic electroluminescence display (OLED) panel does not have a backlight module, it can emit light by itself, and can be bent at a certain angle. Therefore, many foldable phones currently on the market combine the folding mechanism on the body with the OLED screen to achieve the folding effect.

[0143] (2) Focus window

[0144] The focus window refers to the window that the electronic device is currently interacting with the user. This window is responsible for receiving keyboard events and touch events. When a new Activity is started, a new window is added, an old window is removed, and the split screen is operated back and forth, the update of the focus window is involved. Among them, Activity is one of the four basic components in the Android component, which represents a screen or interface in an application. Specifically, Activity is responsible for displaying the user interface, processing user input events, and driving the state changes of the application. Each Activity is independently startable and can contain various user interface elements such as buttons, text inputs, etc., and communicates through the Internet. Activity has four states: running, paused, stopped, and destroyed. Developers can manage the lifecycle of Activity to implement complex applications and provide rich user experiences.

[0145] (3) Motion effect

[0146] Motion effect, also known as motion design or motion design, refers to all the movements on the user interface (UI). Motion effects can be roughly divided into two categories: functional motion effects and display motion effects. Functional motion effects are mainly used in product design, which convey information to users through dynamic graphics, such as loading / refreshing and progress bars; display motion effects are more like some motion effects designed to serve brand recognition or increase product interest in specific scenarios. They generally do not serve the interaction of the product, and are usually designed for individual scenarios and cannot be reused.

[0147] The role of motion effect is as follows:

[0148] Increase the affinity and interest of the product, and shorten the distance with the viewer;

[0149] It is beneficial to display design details and save communication costs.

[0150] It is better to display the functions of mobile products, so that users can more intuitively understand the core features, purposes, and methods of using a product.

[0151] UI motion effects are more conducive to brand building and can better convey brand concepts and express brand characteristics. Motion effects can be achieved in many ways, including keyframe animation, interactive effects, and micro-motion effects. Keyframe animation is achieved by changing the properties of an element from A to B (two keyframes), such as moving from left to right, changing from blue to green, and changing from large to small. Interactive effects and micro-motion effects are not limited to satisfying interactive feedback, and the production and implementation of animations are different from general keyframe animations.

[0152] (4) Package Manager Service

[0153] Package Manager Service (PMS) is a software management service, which is a core service in Android system. It is responsible for managing and maintaining all installed Android application packages (APKs) in the system. By using PMS, users can easily obtain, install, update, and uninstall application packages, thereby improving the user experience and work efficiency of application programs.

[0154] (5) Foreground application, background application

[0155] "Foreground" and "background" are usually used to describe the state of an application when it is running. Specifically, "foreground application" refers to the state where the application is being opened, operated, or currently displayed by the user. "Background application" refers to the state where the application is still running, but the user is no longer directly operating or paying attention to the application, and the application is no longer displayed on the screen, becoming a background running state. Background running applications can perform some light operations, such as receiving message notifications, monitoring network changes, etc., but their resource usage and priority are relatively low. It should be noted that too many background applications will consume system resources and power, affecting device performance and battery life, so it is recommended to close or clean up background applications in a timely manner.

[0156] Please refer to FIG. 1, which is a scene diagram of an outer screen display of a folding screen mobile phone provided by the prior art.

[0157] As shown in FIG. 1, the folding screen mobile phone has an inner screen and an outer screen. In the folded state, the user can interact with the folding screen mobile phone through the outer screen. For example, in response to the user clicking the icon corresponding to the "clock" application in the outer screen interface, the folding screen mobile phone can present the user with the operation interface corresponding to the application (interface 1 in FIG. 1).

[0158] It can be seen that, due to the existence of the camera corresponding hole region in the outer screen of the folding screen mobile phone, part of the display content of the operation interface is shielded, so that the user cannot completely see the display content corresponding to the application interface, and the user cannot normally use various functions corresponding to the "clock" application.

[0159] Different from the prior art, the method provided in the embodiments of the present application can reasonably adjust the display parameters of the decoration layer based on the first operation instruction of the user and the configuration information of the target application, and generate a second interface based on the decoration layer, the background layer and the application layer, which helps to achieve the purpose of enabling the user to normally use the functions of the target application by presenting the decoration layer and the background layer in the first display area and presenting the application layer in the second display area in the case that the display content corresponding to the application interface may be shielded, and improves the aesthetics of the application interface presented to the user, and further improves the user experience.

[0160] Please refer to FIG. 2, which is a flowchart of a method for displaying an application interface provided in the embodiments of the present application.

[0161] As shown in FIG. 2, the method can include:

[0162] S201: The electronic device 100 displays a first interface on the outer screen, and the first interface can include a target control of a target application.

[0163] It should be noted that the embodiments of the present application can be applied to the electronic device 100, and further, the embodiments of the method of the present application mainly describe the interface display method of the outer screen of the electronic device 100. Illustratively, please refer to FIG. 3, which is a structural schematic diagram of an electronic device provided by an embodiment of the present application. As shown in FIG. 3, the electronic device 100 can include an outer screen 310 and an inner screen 320. The size of the outer screen 310 is smaller than the size of the inner screen 320. The electronic device 100 can show various applications to the user through the outer screen 310 and the inner screen 320, and touch interact with the user. Among them, the electronic device 100 interacts with the user through the outer screen 310 in the folded state, and the electronic device 100 interacts with the user through the inner screen 320 in the unfolded state. Further, the outer screen 310 can include a first display area 311 and a second display area 312 when displaying various interfaces. Among them, the first display area 311 contains a notch area (such as the camera area shown in FIG. 3. It can be understood that the camera area is located in the first display area 311 and outside the second display area 312), and the first display area 311 can be used to present the decoration layer and the background layer in the embodiments of the method of the present application (the related content of the background layer will be described below, and will not be repeated here). It is helpful to adjust the transparency of the decoration layer and the size of the background layer and the application layer to achieve the purpose of allowing the user to normally use the function of the target application in the case that the display content corresponding to the application interface may be blocked by the notch area, and improve the aesthetics of the second interface. Further, the second display area 312 can be used to display a plurality of application layers corresponding to various third-party applications, which helps to ensure that the display content corresponding to the application interface can be completely presented to the user.

[0164] S202: The electronic device 100 receives a first operation instruction acting on the target control.

[0165] Among them, the first operation instruction of the user for the target application can include a start instruction, a focus switching instruction, and a close instruction, etc. Illustratively, if the user clicks the icon corresponding to the target application in the desktop of the electronic device 100, the click operation can be regarded as a start instruction; if the user clicks a certain function button in the application interface of the target application, the click operation can be regarded as a focus switching instruction; if the user draws from the bottom of the screen to the center of the screen in the application interface of the target application, the operation can be regarded as a close instruction. More, when the user rotates the electronic device 100 in the process of operating (or using) the target application, it can also be considered as the first operation instruction for the target application, and the electronic device 100 can correspondingly adjust the display direction and display position of the display content on the outer screen.

[0166] S203: The electronic device 100 determines the display parameters of the layer set corresponding to the first operation instruction based on the configuration information of the target application.

[0167] The layer set can include a background layer, an application layer, and a decoration layer, and the display content corresponding to the first operation instruction is included in the application layer. Specifically, the background layer can be set based on elements such as the color of the target application icon, and the application layer is used to present the application interface corresponding to the first operation instruction. It should be noted that the specific setting method of the background layer is not limited in the present application, and the skilled person can adjust it based on the actual situation.

[0168] In some possible implementations, the configuration information of the target application can include display parameters corresponding to a plurality of application interfaces of the target application.

[0169] Based on the configuration information of the target application, the display parameters of the layer set corresponding to the first operation instruction can include:

[0170] Based on the first operation instruction, the target interface is determined, and the target interface is the interface of the target application in response to the first operation instruction.

[0171] The display parameters corresponding to the target interface are determined from the display parameters corresponding to the plurality of application interfaces.

[0172] In some possible implementations, the display parameters corresponding to the plurality of application interfaces can include the size, display level, display content of the background layer and the application layer in the corresponding application interface, and the display transparency of the decoration layer.

[0173] In some possible implementations, the display level of the decoration layer is higher than the display level of the background layer and the application layer.

[0174] If the display level of the application layer is the same as the display level of the background layer, the size of the background layer is the same as the size of the first display area.

[0175] If the display level of the application layer is higher than the display level of the background layer, the size of the background layer is greater than or equal to the size of the first display area.

[0176] Exemplarily, based on the display level of the application layer being higher than the display level of the background layer, the size of the background layer being equal to the first display area size, the display effect of the application layer and the background layer can be seen from the structures related to FIG. 4. FIG. 4 is a schematic diagram of a display level relationship between a background layer and an application layer according to an embodiment of the present application. As shown in FIG. 4, in response to a starting instruction of a target application 41 (such as a "clock" application program shown in FIG. 4) by a user, the electronic device 100 can generate a background layer 42 and an application layer 43. The background layer 42 is used to present a background color corresponding to the target application 41 icon, and the application layer 43 is used to present display content corresponding to the target application 41 homepage. If the size of the application layer 43 is a first size (which can be understood as the first size being equal to the size of the entire outer screen), since the display level of the display content corresponding to the background layer 42 is lower than the display level of the application layer 43, the electronic device 100 will only present the display content corresponding to the application layer 43 on the outer screen 310. If the size of the application layer 43 is a second size (which can be understood as the second size being equal to the size of the second display area), in the case of hiding the decorative layer, the electronic device 100 can present an interface as shown in FIG. 4 on the outer screen 310. Specifically, the display content corresponding to the background layer 42 is presented in the first display area, and the display content corresponding to the application layer 43 is presented in the second display area.

[0177] In some other possible implementation manners, the method according to an embodiment of the present application can further include:

[0178] When the target application is downloaded in the electronic device, or when the target application runs to the target node, an information description file corresponding to the target application is acquired;

[0179] Based on the information description file, configuration information of the target application is determined.

[0180] Specifically, the target application can edit the configuration information in the form of metadata in the information description file AndroidManifest.xml. Further, when the target application is completely downloaded in the electronic device 100, the electronic device 100 can parse the metadata corresponding to the configuration information based on the PMS component, and save the parsed metadata (which can be understood as the configuration information) in the local memory of the electronic device 100, which helps the electronic device 100 to subsequently call the configuration information, so as to determine the display state (display or hide) of the decoration layer in the second interface, which helps to improve the aesthetics of the second interface while ensuring the user to normally use the functions of the target application, and improves the user experience. Alternatively, the target application can define a flag corresponding to the configuration information in the activity life cycle thereof, and when the target application runs to the flag flow, the target application can pass the configuration information into the layout parameter component LayoutParams through the flag, so that the electronic device 100 can determine the display state (display or hide) of the decoration layer based on the parameters corresponding to the configuration information, which helps to improve the aesthetics of the second interface while ensuring the user to normally use the functions of the target application, and improves the user experience.

[0181] In some possible implementation manners, the method provided in the embodiments of the present application can further include:

[0182] receiving a power-on instruction for the electronic device;

[0183] In response to the power-on instruction, generating a decoration layer based on preset information, the preset information can include the size of the decoration layer, the display content corresponding to the decoration layer, and the initial transparency of the decoration layer, and the initial transparency is the second transparency.

[0184] Exemplarily, please refer to FIG. 5, which is a flowchart of generating a decoration layer provided by the embodiments of the present application. As shown in FIG. 5, the technical personnel can define the type TYPE_DICO_VIEW of the decoration layer in the window management module HwWindowManager.java of the electronic device 100, which can include the size of the decoration layer, the layout information, and the display content corresponding to the decoration layer. The layout information of the decoration layer is related to the position information of the first display area, and the display content corresponding to the decoration layer can include the clock, the date, and the weather, and can also include other capsule information in the electronic device 100. Specifically, the capsule information can be the floating window information set based on the camera hole area, which can include but is not limited to the flight information, the car service, the high-speed rail formation, the take-out state, the express tracking, the movie watching, the game, the audio, and the system service related information.

[0185] Further, the electronic device 100 can also define a display level of the decoration window, getWindowLayerFromTypeLw, based on the electronic device window management module HwPhoneWindowManager.java. In this embodiment, the display level of the decoration layer is set to be higher than the display levels of the background layer and the application layer, and the transparency of the decoration layer is adjusted to display or hide the decoration layer, which is simpler and faster than adjusting the display level of the decoration layer according to the configuration information of the target application.

[0186] Further, in response to the booting of the electronic device 100, the top view structure module ViewRootImpl.java in the electronic device 100 can create the decoration layer based on the information related to the decoration layer (such as the type and the display level described above) by adding the window function addWindowLw(), and can save the information related to the decoration layer (such as the type and the display level described above) by the creation of the decoration layer function setDecorWindowInfo() of the display policy module DisplayPolicy.java. After the decoration layer is created, the electronic device 100 can hide the decoration layer by the hide window function hideDecorWindow() of the hardware display policy module HwDisplayPolicyEx.java, and specifically, the transparency of the decoration layer is adjusted to 100% to hide the decoration layer.

[0187] For reference, if the size of the application layer corresponding to an application interface in the target application is the first size (which can be understood as the first size being equal to the size of the entire outer screen), the target application can generally set the display transparency of the decoration layer in the application interface to 0% (which can be understood as displaying the decoration layer in the application interface).

[0188] In another possible implementation, the target application can not set the size of the application layer for the outer screen of the electronic device 100 separately, and only need to set the size of the application layer corresponding to each application interface of the target application in the inner screen scenario. When the user interacts with the electronic device 100 based on the outer screen, the electronic device 100 can adjust the application layer to the size of the second display area, so as to ensure that the user can normally and completely use each function of the target application in the outer screen scenario.

[0189] In another possible implementation, if the target application does not set the transparency information corresponding to the decoration layer, the electronic device 100 can use the scheme of "presenting the decoration layer and the background layer in the first display area, and presenting the application layer in the second display area" during the use of the target application by the user through the outer screen.

[0190] S204: In response to the first operation instruction, the electronic device 100 displays a second interface on the outer screen based on the display parameter.

[0191] The second interface can include a first display area and a second display area, the camera is in the first display area and out of the second display area, the application layer is displayed in the second display area, and the decoration layer and the background layer are displayed in the first display area.

[0192] In some possible implementation manners, in response to the first operation instruction, the second interface is displayed on the outer screen based on the display parameter, which can include:

[0193] In response to the first operation instruction, the background layer and the application layer are generated based on the display parameter;

[0194] The initial transparency of the decoration layer is adjusted to the display transparency based on the display parameter;

[0195] The second interface is generated based on the background layer, the application layer and the decoration layer;

[0196] The second interface is displayed on the outer screen.

[0197] In another possible implementation manner, before the second interface is displayed on the outer screen, the method can further include:

[0198] A transition interface is displayed on the outer screen, the transition interface can include the background layer, the application layer and the decoration layer with the target transparency, and the target transparency is determined based on a playing area of a dynamic effect corresponding to the first operation instruction.

[0199] In another possible implementation manner, the method can further include:

[0200] If the playing area of the dynamic effect corresponding to the first operation instruction is the second display area, the target transparency is determined as the first transparency, and the first transparency is the transparency corresponding to the decoration layer in the first interface;

[0201] If the playing area of the dynamic effect corresponding to the first operation instruction is the entire outer screen, the target transparency is determined as the second transparency, and the second transparency is the transparency corresponding to the hidden decoration layer.

[0202] Exemplarily, refer to FIGS. 6a-6c, which are schematic diagrams of a scenario provided by the embodiment of the present application for displaying the dynamic effect corresponding to the first operation instruction. In combination with FIG. 4 and FIG. 6a, in response to the starting instruction of the target application 41 by the user, the electronic device 100 can generate the background layer 42 and the application layer 43. The background layer 42 is used to present the background color corresponding to the target application 41 icon, and the application layer 43 is used to present the display content corresponding to the target application 41 homepage. Further, it can be determined that the special effect corresponding to the starting target application 41 is “gradually covering the desktop interface 61 of the outer screen 310 with the application interface corresponding to the target application 41”. As can be seen, the playing area of the dynamic effect corresponding to the starting instruction is the entire outer screen, and then the display transparency is determined as the second transparency (assuming that the second transparency is 100%), and the transparency of the decoration layer 62 needs to be adjusted to 100% in this process (it can be understood that the decoration layer 62 is hidden in the playing process of the dynamic effect corresponding to the first operation instruction).

[0203] Specifically, in the case that the size of the application layer 43 is the second size (it can be understood that the second size is equal to the size of the second display area), and the decoration layer 62 is displayed (it can be understood that the display transparency is 0%), the electronic device 100 can gradually cover the desktop interface 61 (in this scenario, the desktop interface 61 is equivalent to the first interface described above) with the starting transition interface 63. The starting transition interface 63 can include the background layer 42, the application layer 43, and the decoration layer 62 with the second transparency (100% in this scenario). In terms of presentation effect, the user can see the display content corresponding to the background layer 42 and the application layer 43 in the starting transition interface 63. The background layer 42 is used to present the background color corresponding to the target application 41. Further, since the size of the application layer 43 is the size corresponding to the second display area, the target application 41 can set the display transparency of the decoration layer 62 to 0% (it can be understood that the decoration layer 62 is displayed in the second interface), and when the starting transition interface 63 completely covers the desktop interface 61, the electronic device 100 can present the starting interface 64 (in this scenario, the starting interface 64 is equivalent to the second interface described above) on the outer screen 310. In terms of presentation effect, the user can see the display content corresponding to the decoration layer 62, the background layer 42, and the application layer 43 in the starting interface 64.

[0204] Further, in combination with FIG. 4 and FIG. 6b, in response to the user's focus switching instruction (e.g., the user clicking the "start timing" button in the application interface) on the start interface 64 of the target application 41, the electronic device 100 can determine that the "start timing" function corresponds to the background layer 44 and the application layer 45, which are used to present the display content corresponding to the timing interface of the target application 41. Further, if the size of the application layer 45 corresponding to the timing interface is the size of the outer screen 310 (equivalent to the sum of the sizes of the first display area and the second display area), it can be determined that the special effect of switching from the start interface 64 to the timing interface is "gradually covering the start interface 64 with the timing interface". As can be seen, the playing area of the dynamic effect corresponding to the focus switching instruction is the entire outer screen, and the display transparency is determined to be 100%, and the transparency of the decoration layer 62 needs to be adjusted to 100% during this process (it can be understood that the decoration layer 62 is hidden during the playing of the dynamic effect corresponding to the first operation instruction).

[0205] Specifically, in the case where the size of the application layer 43 is the first size (which can be understood as the first size being equal to the size of the entire outer screen) and the decoration layer 62 is hidden (which can be understood as the display transparency being 100%), the electronic device 100 can gradually cover the start interface 64 with the timing transition interface 65 (in this scenario, the start interface 64 is equivalent to the first interface described above). The timing transition interface 65 can include the background layer 44, the application layer 45, and the decoration layer 62 with a target transparency (100% in this case). In terms of presentation, the user can see the display content corresponding to the application layer 45 and part of the display content corresponding to the background layer 44 in the start transition interface 63. During the playing of the dynamic effect corresponding to the first operation instruction, the timing transition interface 65 will present less and less display content corresponding to the background layer 44 and the application layer 43, and more and more display content corresponding to the application layer 45. Further, since the size of the application layer 45 is the first size (which can be understood as the first size being equal to the size of the entire outer screen), the target application 41 can set the display transparency of the decoration layer 62 to 100% (which can be understood as hiding the decoration layer 62 in the second interface). When the timing transition interface 65 completely covers the start interface 64, the electronic device 100 can present the timing interface 66 (in this scenario, the timing interface 66 is equivalent to the second interface described above) on the outer screen 310. In terms of presentation, the user can see the display content corresponding to the application layer 45 in the timing interface 66. When the display content corresponding to the application layer 45 is completely displayed in the second display area, it can be considered that the playing of the dynamic effect corresponding to the first operation instruction is complete.

[0206] Further, in combination with FIG. 4 and FIG. 6c, in response to the focus switching instruction of the user for the start interface 64 of the target application 41 (such as the user clicking the time "07:10" button in the application interface in FIG. 6c), the electronic device 100 can determine the third background layer 46 corresponding to the "alarm clock" function and the third application layer 47, wherein the third background layer 46 is used to present the background color corresponding to the target application 41, and the third application layer 47 is used to present the display content corresponding to the alarm clock interface of the target application 41. Further, if the size of the third application layer 47 corresponding to the alarm clock interface is the size corresponding to the second display area, it can be determined that the target special effect of switching from the start interface 64 to the alarm clock page is "gradually covering the real content of the start interface 64 in the second display area with the alarm clock page". It can be seen that the motion range of the motion effect corresponding to the first operation instruction corresponding to the focus switching instruction is the second display area, and the display transparency is determined to be 0%, and the transparency of the first decoration layer 62 needs to be adjusted to 0% in this process (it can be understood that the first decoration layer 62 is displayed in the playing process of the motion effect corresponding to the first operation instruction).

[0207] Specifically, in the case that the size of the application layer 43 is the second size (it can be understood that the second size is equal to the size of the second display area), the display of the decoration layer 62 of the first application (it can be understood that the display of the transparency is 0%), the electronic device 100 can gradually cover the start interface 64 (in this scenario, the timing interface 66 is equivalent to the first interface described above) by using the alarm clock transition interface 67. Among them, the alarm clock transition interface 67 can include a background layer and an application layer (including the third background layer 46 and the third application layer 47) and the decoration layer 62 of the first application with a target transparency (0% in this case). In terms of presentation effect, the user can see the display content corresponding to the third background layer 46 and the third application layer 47 in the alarm clock transition interface 67. Further, since the size of the third application layer 47 is the size corresponding to the second display area, the target application 41 can set the display transparency of the decoration layer 62 of the first application to 0% (it can be understood that the decoration layer 62 of the first application is displayed in the second interface), when the alarm clock transition interface 67 completely covers the start interface 64, the electronic device 100 can present the alarm clock interface 68 (in this scenario, the alarm clock interface 68 is equivalent to the second interface described above) on the outer screen 310. In terms of presentation effect, the user can see the display content corresponding to the decoration layer 62 of the first application, the third background layer 46 and the third application layer 47 in the alarm clock interface 68. In a possible implementation, during the presentation of the alarm clock transition interface 67, the user can see the display content corresponding to the third background layer 46, part of the display content corresponding to the third application layer 47 and part of the display content corresponding to the application layer 43 in the alarm clock transition interface 67. During the execution of the dynamic effect corresponding to the first operation instruction, the outer screen 310 will present less and less display content corresponding to the application layer 43 and more and more display content corresponding to the third application layer 47, until the display content corresponding to the third application layer 47 is completely displayed in the second display area, it can be considered that the dynamic effect corresponding to the first operation instruction is executed.

[0208] It should be noted that the electronic device 100 can generate the background layer only once during the use of the same target application. For example, in combination with FIG. 4 and FIG. 6a-6c, after the user starts the target application 41, the electronic device 100 generates the background layer corresponding to the target application 41, and the background layers corresponding to each function (such as the timer, the alarm clock, and the stopwatch) in the target application 41 are the same. It can be understood that the above-mentioned background layer 42, the background layer 44, and the background layer 46 are the same layer. Further, during the use of different functions of the target application 41, the electronic device 100 does not need to repeatedly generate the background layer. It can be understood that during the use of the target application 41, the electronic device 100 always displays the background layer 42, but the background layer 42 is called the background layer 44 in the timer interface 66 corresponding to the “timer” function, and is called the background layer 46 in the alarm clock interface 68 corresponding to the “alarm clock” function.

[0209] In some other possible embodiments, in combination with FIG. 5 and FIG. 7, where FIG. 7 is a schematic diagram of an execution flow of a dynamic effect provided by an embodiment of the present application. As shown in FIG. 7, in the case that the dynamic effect corresponding to the first operation instruction of the user needs to hide the decoration layer during the execution process, the electronic device 100 can synchronize with the dynamic effect module Transition.java to call hideDecorWindow() to send the instruction of hiding the decoration layer to HwDisplayPolicyEx.java, while starting to prepare the execution of the dynamic effect corresponding to the first operation instruction by using the special effect preparation function onTransitionReady(), so as to achieve the purpose of hiding the decoration layer during the playing process of the dynamic effect corresponding to the first operation instruction. Further, in the case that the second interface corresponding to the first operation instruction of the user needs to display the decoration layer, the electronic device 100 can synchronize with Transition.java to call the display decoration layer function showDecorWindow() to send the instruction of displaying the decoration layer to HwDisplayPolicyEx.java in response to the execution of the dynamic effect end function finishTransition(), so as to achieve the purpose of displaying the decoration layer in the second interface after the execution of the dynamic effect corresponding to the first operation instruction ends.

[0210] In some possible implementation manners, in combination with FIG. 5, FIG. 7 and FIG. 8, FIG. 8 is a schematic diagram of a display flow of a corresponding decoration interface of interface rotation. As shown in FIG. 7, the system side of the electronic device 100 can notify the system that the parameter config of the current user interface of the user effect application SystemUI has changed when the user rotates the electronic device 100 during use of the target application, and the content module DisplayContent.java can determine that the user rotates the electronic device 100 during use of the target application based on the rotation function applyRotation(), and can send an instruction of hiding the decoration layer to HwDisplayPolicyEx.java by calling hideDecorWindow(), so as to hide the decoration layer during playing of the animation corresponding to the first operation instruction, and avoid errors such as display errors of the outer screen. Further, the SystemUI can remove the window being displayed on the outer screen of the electronic device 100 in the form of a sliding animation by calling the parameter change function onConfigChanged() after receiving the notification sent by the system side, and set the parameters (such as the size of the decoration layer, the direction and position of the decoration layer, etc.) of the decoration layer after screen rotation by using the parameter setting function setCanPlayMoveAnimation(). Further, the SystemUI can send a control instruction to Transition.java after the electronic device 100 generates a new decoration layer based on the parameters, so that Transition.java calls showDecorWindow() to send an instruction of displaying the decoration layer to HwDisplayPolicyEx.java, so as to display the decoration layer in the second interface after the animation corresponding to the first operation instruction is executed.

[0211] It should be noted that, in the process of calling hideDecorWindow() above, HwDisplayPolicyEx.java can first determine whether the decoration layer in the current displayed page, interface or window is in a hidden state (it can be understood that whether the current transparency of the decoration layer is 100% is determined), if the decoration layer is in a hidden state, the transparency of the decoration layer does not need to be adjusted; if the decoration layer is in a displayed state, the transparency of the decoration layer needs to be adjusted to 100%.

[0212] Please refer to FIG. 9, which is a schematic diagram of a method for displaying an application interface according to an embodiment of the present application.

[0213] As shown in FIG. 9, the electronic device 100 can define the type of the decoration layer by the system based on the preset information, wherein the definition of the type of the decoration layer can determine the size, layout information, display content corresponding to the decoration layer of the decoration layer, and can also determine the display level corresponding to the decoration layer. Further, the electronic device 100 can generate the decoration layer by calling addWindow() through SystemUI, and record and save the layer leash information (which can be understood as the information corresponding to the decoration layer described above) created by the business side (which can be understood as the SystemUI side) by the system side. It should be noted that the electronic device 100 can also generate the decoration layer through other applications with layer generation function, which is not limited in the present application.

[0214] Further, in response to the target application starting, the electronic device 100 can determine whether the decoration layer needs to be displayed on the application interface corresponding to the target application based on the configuration information dynamically or statically configured by the target application. In the case where the decoration layer needs to be displayed, it is judged whether the foreground application has focus switching, interface rotation, screen cutting or other transition effects, if it is judged that yes, the decoration layer is hidden in the process of executing the effect, and the display content corresponding to the decoration layer is presented on the outer screen when the execution of the effect ends; if it is judged that no, the display content corresponding to the decoration layer is directly presented on the outer screen. More, in the case where the decoration layer does not need to be displayed (which can be understood as hiding the decoration layer), the display content corresponding to the decoration layer is not presented on the outer screen.

[0215] In summary, the method of the embodiments of the present application can decouple the application side and the system side application interface display processing flow, the application side only needs to transmit the display content corresponding to different operation pages and the display requirements of different operation pages to the decoration layer to the system side in the form of configuration information, and the system side generates and presents different layers based on the first operation instruction of the user and the configuration information, which helps to efficiently manage the display state of the decoration layer, and also helps to avoid the application interface layout confusion caused by the inadaptation of the target application and the decoration layer, thereby improving the user experience. Further, the method of the embodiments of the present application links the decoration layer and the effect of the foreground application, giving the user an overall view that the decoration layer, the background layer and the application layer are one, the UI vision is unified, which helps to further improve the user experience.

[0216] In a possible implementation scenario, in the folded state of the electronic device 100, the user can interact with the electronic device through the outer screen. However, due to the small size of the outer screen and the incompatibility of various third-party applications with the layout of the outer screen, the function operation mode of the third-party application is likely to conflict with the function operation mode of the electronic device system, so that the actual use demand of the user cannot be accurately recognized, and the user experience is poor. For example, referring to FIG. 10, FIG. 10 is a schematic diagram of an outer screen operation scenario of a folding screen mobile phone provided by the prior art. As shown in FIG. 10, the electronic device 100 displays a first application interface 110 corresponding to a "video" application in the outer screen (as shown in FIG. 10, the first application interface 110 displays six different video contents 1-6), and a first operation area 111 is present at the bottom of the outer screen, where the first operation area 111 is a system operation hot area and can perform a "one-key return to desktop" function and the like. Specifically, when the user wants to view various contents under the "movie" category, the user can click the "movie" control; further, in response to the user clicking the "movie" control in the first application interface 110 (as shown in FIG. 1, the "movie" control is located in the first operation area 111), the electronic device 100 incorrectly considers that the user wants to return to the desktop of the outer screen, so that the electronic device 100 directly displays a desktop interface 61 for the user.

[0217] It can be seen that, in the case where the function operation mode of the third-party application conflicts with the function operation mode of the electronic device system, the electronic device 100 cannot accurately recognize the actual operation intention of the user, so as to provide correct services for the user, and the user experience is poor.

[0218] Differently, the method of the embodiment of the present application can confirm the real operation intention of the user based on the motion trajectory of the operation instruction. Specifically, when the electronic device receives an operation instruction acting on the first application interface, if the starting point of the motion trajectory corresponding to the operation instruction is in the first operation area, a target layer can be generated, and the display level of the target layer is set to be lower than the display level of each layer in the first layer set, so that the target layer is not perceived by the user. Further, if the motion trajectory corresponding to the operation instruction meets the preset condition, it can be considered that the operation intention of the user is to return to the desktop of the outer screen, so that the desktop can be displayed on the outer screen based on the target layer; if the motion trajectory corresponding to the operation instruction does not meet the preset condition, it can be considered that the intention of the user operation instruction is to use the related function of the target application, so that the target layer can be cleared, and the second application interface corresponding to the operation instruction can be displayed on the outer screen, which helps to improve the accuracy of the operation intention recognition of the electronic device 100, and effectively improves the user experience.

[0219] Specifically, refer to FIG. 11, which is a flow diagram of an interface display method based on an operation gesture according to an embodiment of the present application.

[0220] As shown in FIG. 11, the method can include:

[0221] S1101: The electronic device 100 displays a first application interface of a target application on the outer screen.

[0222] The first application interface is one of a plurality of application interfaces of the target application, and each application interface has a corresponding set of layers. The first application interface corresponds to a first set of layers. For example, the first set of layers can include a decoration layer, a background layer, and a first application layer. Specifically, the background layer can be set based on the color and other elements of the target application icon. It should be noted that the present application does not limit the specific setting method of the background layer, and the skilled person can adjust it based on the actual situation.

[0223] Further, the display parameters of the layer set corresponding to each application interface in the first application are determined by the configuration information of the target application.

[0224] For example, refer to FIG. 12, which is a structural diagram of an electronic device according to an embodiment of the present application. As shown in FIG. 12, the electronic device 100 can include an outer screen 310 and an inner screen 320. The size of the outer screen 310 is smaller than the size of the inner screen 320. The electronic device 100 can display various applications to the user through the outer screen 310 and the inner screen 320, and interact with the user through touch. In the folded state, the electronic device 100 interacts with the user through the outer screen 310, and in the unfolded state, the electronic device 100 interacts with the user through the inner screen 320. Further, in the outer screen 310, there is a first operation area 111 and a second operation area 112. The first operation area 111 is located at the bottom of the outer screen 310, and the second operation area 112 is located above the first operation area 111. It should be noted that in the outer screen 310, there is a first operation area 111 and a second operation area 112. The first operation area 111 is located at the bottom of the outer screen 310, and the second operation area 112 is located above the first operation area 111.

[0225] S1102: The electronic device 100 receives a second operation instruction acting on the first application interface.

[0226] Similar to the first operation instruction, the second operation instruction can include a start instruction, a focus switching instruction, and a close instruction, etc.

[0227] S1103: When the starting point of the motion trajectory of the second operation instruction is in the first operation area, the electronic device 100 generates a target layer.

[0228] The target layer is a display layer corresponding to the desktop of the outer screen, and the display level of the target layer is lower than the display level of each layer in the first layer set.

[0229] Exemplarily, when the starting point of the motion trajectory corresponding to the second operation instruction is in the first operation area, the electronic device 100 regards the desktop of the outer screen as a foreground application, and starts to generate a display layer corresponding to the foreground application. Unlike the prior art, after determining that the desktop of the outer screen is a foreground application, the electronic device 100 in the method of the embodiment of the application does not immediately present the display content corresponding to the foreground application (i.e., the desktop of the outer screen) to the user, but determines the real operation intention of the user based on the complete motion trajectory of the second operation instruction. The specific operation intention judgment process can be referred to S1104 and S1105 and the embodiment content thereof, and is not described herein.

[0230] S1104: If the motion trajectory meets the preset condition, the electronic device 100 displays the desktop on the outer screen based on the target layer.

[0231] The preset condition can be that the touch point corresponding to the motion trajectory is slid upward from the first operation area to the center position of the second operation area.

[0232] Exemplarily, please refer to FIG. 13, which is a schematic diagram of a judgment scenario of a preset condition provided by an embodiment of the application. Exemplarily, the preset condition corresponding to the method of the embodiment of the application can be that when the motion trajectory corresponding to the second operation instruction is “sliding from the first operation area to the center position of the second operation area”, it can be considered that the motion trajectory meets the preset condition. Specifically, as shown in case 1 in FIG. 13, when the motion trajectory corresponding to the second operation instruction of the user is “vertically slid upward from the first operation area 111 to the center position of the second operation area 112”, it can be considered that the motion trajectory corresponding to the second operation instruction of the user meets the preset condition, and it can be considered that the operation intention of the user is “to exit the first application and return to the desktop of the outer screen”; as shown in case 2 in FIG. 13, when the motion trajectory corresponding to the second operation instruction of the user is “slid to the center position of the second operation area 112 along the left oblique upward direction from the first operation area 111”, it can be considered that the motion trajectory corresponding to the second operation instruction of the user meets the preset condition, and it can be considered that the operation intention of the user is “to exit the first application and return to the desktop of the outer screen”; as shown in case 3 in FIG. 13, when the motion trajectory corresponding to the second operation instruction of the user is “slid to the center position of the second operation area 112 along the right oblique upward direction from the first operation area 111”, it can be considered that the motion trajectory corresponding to the second operation instruction of the user meets the preset condition, and it can be considered that the operation intention of the user is “to exit the first application and return to the desktop of the outer screen”.

[0233] It should be noted that the end point of the motion track in the preset condition can also be the center position of the outer screen or other specified positions, which is not limited in the present application, and the specific preset condition can be set by the technician according to the actual situation.

[0234] In some possible implementation manners, the method can further include:

[0235] If the motion track meets the preset condition, displaying a desktop on the outer screen based on the decoration layer and the target layer, and the transparency of the decoration layer is the second transparency.

[0236] The second transparency can be the transparency corresponding to the hidden decoration layer, and the size of the target layer is the same as the size of the outer screen.

[0237] Exemplarily, please refer to FIGS. 14a-14c, which are schematic diagrams of a scene of interface display provided by an embodiment of the present application. As shown in FIG. 14a, when the user uses the "video" application (which can be understood as the target application in the above-mentioned scheme of the present application in FIG. 13), the electronic device 100 can present a first application interface 110 (which can be understood as the home page interface of the "video" application) for the user on the outer screen 310, wherein the first application interface 110 corresponds to a first layer set 710, and the first layer set 710 includes a decoration layer 711, a background layer 712, and a first application layer 713. The decoration layer 711 and the background layer 712 are displayed in a first display area 311 of the first application interface 110, the background layer 712 is used to present the background color corresponding to the "video" application, the first application layer 713 is displayed in a second display area 312 of the first application interface 110, and the display level of the decoration layer 711 is higher than that of the background layer 712 and the first application layer 713.

[0238] Further, as shown in FIG. 14b, in response to the user touching the first operation area 111 of the outer screen 310 at this time, the desktop of the outer screen is determined as the foreground application, and a target layer 721 corresponding to the desktop of the outer screen is generated, at this time, the display level of the target layer 721 is lower than that of the background layer 712 and the first application layer 713, the user cannot view the display content corresponding to the target layer 721 on the outer screen 310, and the user can still only view the display content corresponding to the first application interface 110 at this time.

[0239] Further, as shown in FIG. 14c, under the premise that the user's finger does not leave the outer screen 310, if the user's hand moves from the first operation area 111 to the center position of the second operation area 112 (it can be considered that the motion trajectory corresponding to the user operation instruction meets the preset condition), it can be considered that the user's operation intention is "to exit the first application and return to the desktop of the outer screen", and the electronic device 100 can present the display content corresponding to the target layer 721 to the user. Specifically, the electronic device 100 can generate a desktop interface 61 based on the decorative layer 711 (which can be understood as a hidden decorative layer) with a transparency of the second transparency and the target layer 721, and display the desktop interface 61 on the outer screen 310. At the same time, the electronic device 100 can clear the first layer set 710.

[0240] S1105: If the motion trajectory does not meet the preset condition, the electronic device 100 clears the target layer, and displays the second application interface corresponding to the second operation instruction on the outer screen.

[0241] It can be understood that if the motion trajectory does not meet the preset condition, it can be considered that the user's operation intention is "to continue to stay in the target application and use a certain function in the target application", so that it can be considered that after the operation instruction is input, the display content corresponding to the desktop of the outer screen does not need to be presented to the user, and therefore the target layer can be cleared, and the second application interface corresponding to the second operation instruction can be presented to the user on the outer screen.

[0242] In some possible implementation manners, the second application interface corresponds to a second layer set, and the second layer set can include a decorative layer, a background layer and a second application layer, and the second application layer is used to display the display content corresponding to the second operation instruction.

[0243] In another possible implementation manner, the method can further include:

[0244] If the motion trajectory does not meet the preset condition, the target layer is cleared, and display parameters of the second layer set are determined based on the configuration information of the target application;

[0245] In response to the second operation instruction, the background layer and the second application layer are generated based on the display parameters of the second layer set;

[0246] The transparency of the decorative layer is adjusted to the corresponding display transparency based on the display parameters of the second layer set;

[0247] The second application interface is generated based on the background layer, the second application layer and the decorative layer;

[0248] The second application interface is displayed on the outer screen.

[0249] The process in which the electronic device 100 determines the display parameters of the second layer set based on the configuration information of the target application can refer to step S203 and related embodiments thereof, and the present application will not repeat them here.

[0250] Exemplarily, the present application will describe the process in which the electronic device 100 generates and displays the second application interface in combination with FIGS. 14a, 14b and 15. FIG. 15 is another schematic diagram of interface display provided by an embodiment of the present application. As shown in FIG. 14a, when the user uses the "video" application (which can be understood as the target application described above), the electronic device 100 can present the first application interface 110 (which can be understood as the home page interface of the "video" application) for the user on the outer screen 310, where the first application interface 110 corresponds to a first layer set 710, and the first layer set 710 includes a first decorative layer 711, a first background layer 712 and a first application layer 713. The first decorative layer 711 and the first background layer 712 are displayed in the first display area 311 of the first application interface 110, the first application layer 713 is displayed in the second display area 312 of the first application interface 110, and the display level of the first decorative layer 711 is higher than that of the first background layer 712 and the first application layer 713.

[0251] Further, as shown in FIG. 14b, in response to the user clicking the "movie" control in the first operation area 111 of the outer screen 310, while the user's finger is touching the "movie" control, the electronic device 100 determines the desktop of the outer screen as the foreground application and generates a target layer 721 corresponding to the desktop of the outer screen. At this time, the display level of the target layer 721 is lower than that of the first background layer 712 and the first application layer 713, and the user cannot view the display content corresponding to the target layer 721 on the outer screen 310. At this time, the user can still only view the display content corresponding to the first application interface 110.

[0252] Further, as shown in FIG. 15, in response to the user's finger leaving the "movie" control (which can be understood as the second operation instruction of the user being clicking the "movie" control, and the motion track corresponding to the second operation instruction having only one point), it can be considered that the user's operation intention is to "view various video contents under the movie classification", and there is no need to display the display content corresponding to the target layer 721 (which can be understood as the display content corresponding to the desktop of the outer screen) for the user. Therefore, the target layer 721 can be cleared, and the second application interface 730 corresponding to the operation instruction can be presented for the user on the outer screen 310.

[0253] Specifically, the electronic device 100 can determine the second layer set 731 corresponding to the second application interface 730 based on the configuration information of the "video" application (which can be understood as the target application described above). The second layer set 731 can include the first decorative layer 711, the first background layer 712, and the second application layer 732.

[0254] In some possible implementation manners, before displaying the desktop on the outer screen, the electronic device 100 can display a first transition picture on the outer screen. The first transition picture can include display content corresponding to the background layer and the first application layer. In the process of presenting the desktop to the user, the first transition picture covers the desktop, and an animation effect that the first transition picture gradually shrinks and the desktop gradually appears completely is presented. The initial size of the first transition picture is the same as the size of the outer screen.

[0255] In some possible implementation manners, before displaying the second application interface on the outer screen, the electronic device 100 can display a second transition picture on the outer screen. The second transition picture can include display content corresponding to the background layer and the second application layer. It should be noted that, if the play area of the dynamic effect corresponding to the operation instruction is the second display area, the second transition picture only includes display content corresponding to the second application layer; if the play area of the dynamic effect corresponding to the operation instruction is the entire outer screen, the second transition picture includes display content corresponding to the background layer and the second application layer.

[0256] Specifically, if the play area of the dynamic effect corresponding to the operation instruction is the second display area, in the process of presenting the second application interface to the user, the second transition picture gradually covers the second display area of the first application interface, at this time, the final size of the second transition picture is the same as the size of the second display area, and when the second transition picture completely covers the second display area of the first application interface, the electronic device 100 presents the second application interface to the user on the outer screen; if the play area of the dynamic effect corresponding to the operation instruction is the entire outer screen, in the process of presenting the second application interface to the user, the second transition picture gradually covers the first application interface, at this time, the final size of the second transition picture is the same as the size of the outer screen, and when the second transition picture completely covers the first application interface, the electronic device 100 presents the second application interface to the user on the outer screen.

[0257] Please refer to FIG. 16, which is a flow diagram of another interface display method based on an operation gesture provided in an embodiment of the present application.

[0258] As shown in FIG. 16, when the user uses a function related to the target application through the electronic device 100, if the user's finger touches the desktop gesture hot area (which can be understood as the first operation area) of the electronic device 100, the system can determine whether the gesture corresponding to the user's operation instruction is a desktop operation gesture based on the preset gesture library of the system regarding the desktop operation gesture, so as to determine whether the decoration layer needs to be hidden. In the case that the outer screen is currently displaying the decoration layer, if the gesture corresponding to the user's operation instruction is a desktop operation gesture, the decoration layer needs to be hidden; if the gesture corresponding to the user's operation instruction is not a desktop operation gesture, the decoration layer continues to be displayed.

[0259] Referring to FIG. 17, FIG. 17 is a flowchart of another interface display method based on an operation gesture provided by an embodiment of the present application.

[0260] As shown in FIG. 17, in some possible implementations, after receiving the user's operation instruction, the electronic device 100 can determine whether the gesture corresponding to the user's operation instruction is a desktop operation gesture (which can be understood as whether the user's hand touches the back key in the first operation area) through the desktop gesture judgment module GestureUtil.java. When the gesture corresponding to the user's operation instruction is a desktop operation gesture (which can be understood as the user's hand touches the back key in the first operation area), GestureUtil.java can send an activation instruction to the desktop management module HwActivityTaskManagerServiceEx.java of the outer screen by using the notification function notifyLauncherAction().

[0261] Further, when the type of the CATEGORY_RETURN_HOME function is "return to the desktop", HwActivityTaskManagerServiceEx.java calls hideDecorWindow() to convey an instruction of hiding the decoration layer to HwDisplayPolicyEx.java, so as to achieve the purpose of hiding the decoration layer.

[0262] In some possible implementation manners, after receiving the operation instruction of the user, the electronic device 100 can determine whether the gesture corresponding to the operation instruction of the user is the upward swiping gesture starting from the first operation area through the other activation input module OtherActivityInputConsumerEx.java. If the gesture is the upward swiping gesture starting from the first operation area, it can be determined that the operation intention of the user is to "display the desktop", and thus the decorative layer needs to be hidden. The OtherActivityInputConsumerEx.java can notify the HwDisplayPolicyEx.java to hide the decorative layer through the desktop broadcast sendBroadcast(). Specifically, the HwDisplayPolicyEx.java receives the desktop broadcast through the HideDecoBroadcastReceiver function, and can hide the decorative layer by calling the hideDecorWindow().

[0263] In summary, the method provided in the embodiments of the present application can confirm the real operation intention of the user based on the motion track of the operation instruction, thereby determining the foreground application of the electronic device, and further correctly presenting the corresponding function interface to the user, which effectively improves the user experience. Specifically, the first operation area exists on the outer screen of the electronic device. When the electronic device receives the operation instruction acting on the first application interface, if the starting point of the motion track corresponding to the operation instruction is in the first operation area, the target layer can be generated, and the display level of the target layer is set to be lower than the display level of each layer in the first layer set, so that the target layer is not perceived by the user. Further, if the motion track corresponding to the operation instruction meets the preset condition, it can be considered that the intention of the user operation instruction is to return to the desktop of the outer screen, so that the desktop can be displayed on the outer screen based on the target layer; if the motion track corresponding to the operation instruction does not meet the preset condition, it can be considered that the intention of the user operation instruction is to use the related function of the target application, so that the target layer can be cleared, and the second application interface corresponding to the operation instruction can be displayed on the outer screen.

[0264] Please refer to FIG. 18, which is a schematic diagram of an electronic device provided in the embodiments of the present application.

[0265] As shown in FIG. 18, the electronic device 100 includes an outer screen 310, a processing module 330 and an interaction module 340. The outer screen 310 is provided with a camera.

[0266] The outer screen 310 can be used to display a first interface. The first interface can include a target control of a target application.

[0267] The outer screen 310 can also be used to receive a first operation instruction acting on the target control.

[0268] The processing module 330 can be configured to determine, based on the configuration information of the target application, a display parameter of a layer set corresponding to the first operation instruction, the layer set can include a background layer, an application layer, and a decoration layer, and the application layer includes display content corresponding to the first operation instruction;

[0269] The processing module 330 can also be configured to display, in response to the first operation instruction, a second interface on the outer screen 310 based on the display parameter, the second interface can include a first display area and a second display area, the camera is in the first display area and out of the second display area, the application layer is displayed in the second display area, and the decoration layer and the background layer are displayed in the first display area.

[0270] In some possible embodiments, the configuration information of the target application can include display parameters corresponding to a plurality of application interfaces of the target application.

[0271] The electronic device 100 can also include:

[0272] The processing module 330 can also be configured to determine, based on the first operation instruction, a target interface, the target interface being an interface of the target application in response to the first operation instruction.

[0273] The display parameter corresponding to the target interface is determined from the display parameters corresponding to the plurality of application interfaces.

[0274] In some possible embodiments, the display parameters corresponding to the plurality of application interfaces can include sizes, display levels, display content of the background layer and the application layer, and display transparency of the decoration layer in the corresponding application interfaces.

[0275] In some possible embodiments, the display level of the decoration layer is higher than the display levels of the background layer and the application layer.

[0276] If the display level of the application layer is the same as the display level of the background layer, the size of the background layer is the same as the size of the first display area.

[0277] If the display level of the application layer is higher than the display level of the background layer, the size of the background layer is greater than or equal to the size of the first display area.

[0278] In some possible embodiments, the electronic device 100 can also include:

[0279] The outer screen 310 can also be configured to display a transition interface, the transition interface can include a background layer, an application layer, and a decoration layer with a target transparency, the target transparency being determined based on a playing area of a dynamic effect corresponding to the first operation instruction.

[0280] In some possible embodiments, the electronic device 100 can also include:

[0281] The processing module 330 can also be configured to determine the target transparency as the first transparency if the playing area of the dynamic effect corresponding to the first operation instruction is the second display area, the first transparency being a transparency corresponding to the decoration layer in the first interface.

[0282] The processing module 330 can also be configured to determine the target transparency as the second transparency if the playing area of the dynamic effect corresponding to the first operation instruction is the entire outer screen 310, the second transparency being a transparency corresponding to the hidden decoration layer.

[0283] In some possible embodiments, the electronic device 100 can further include an interaction module 340.

[0284] The interaction module 340 can be configured to receive a start-up instruction for the electronic device.

[0285] The processing module 330 can also be configured to generate the decoration layer based on preset information in response to the start-up instruction, the preset information including a size of the decoration layer, display content corresponding to the decoration layer, and an initial transparency of the decoration layer, the initial transparency being the second transparency.

[0286] In some possible embodiments, the electronic device 100 can further include:

[0287] The processing module 330 can also be configured to generate the background layer and the application layer based on the display parameter in response to the first operation instruction.

[0288] The processing module 330 can also be configured to adjust the initial transparency of the decoration layer to the display transparency based on the display parameter.

[0289] The processing module 330 can also be configured to generate the second interface based on the background layer, the application layer, and the decoration layer.

[0290] In some possible embodiments, the electronic device 100 can further include:

[0291] The processing module 330 can also be configured to acquire an information description file corresponding to the target application when the target application is completely downloaded in the electronic device or when the target application runs to the target node.

[0292] The processing module 330 can also be configured to determine the configuration information of the target application based on the information description file.

[0293] In some possible embodiments, the outer screen includes a first operation area, and the electronic device 100 can further include:

[0294] The outer screen 310 can also be configured to display a first application interface of the target application, the first application interface being one of a plurality of application interfaces corresponding to the target application, the first application interface corresponding to the first layer set.

[0295] The interaction module 340 can also be configured to receive a second operation instruction acting on the first application interface.

[0296] The processing module 330 can also be configured to generate a target layer when a starting point of the motion track of the second operation instruction is in the first operation area, the target layer being a display layer corresponding to a desktop of the outer screen 310, and the display level of the target layer being lower than the display level of each layer in the first layer set.

[0297] The outer screen 310 can also be configured to display the desktop on the outer screen 310 based on the target layer when the motion track meets the preset condition.

[0298] The processing module 330 can also be configured to clear the target layer when the motion track does not meet the preset condition.

[0299] The outer screen 310 can also be configured to display a second application interface corresponding to the second operation instruction when the motion track does not meet the preset condition.

[0300] In some other possible embodiments, the outer screen 310 further includes a second operation area, the first operation area being located at the bottom of the outer screen 310, and the second operation area being located at the top of the outer screen 310.

[0301] The preset condition is that a touch point corresponding to the motion track is swiped from the first operation area to a central position of the second operation area.

[0302] In some other possible embodiments, the electronic device can further include:

[0303] The processing module 330 can also be configured to display the desktop on the outer screen 310 based on the decoration layer and the target layer when the motion track meets the preset condition, the transparency of the decoration layer being a second transparency, the second transparency being a transparency corresponding to a hidden decoration layer, and the size of the target layer being the same as the size of the outer screen 310.

[0304] In some other possible embodiments, the second application interface corresponds to a second layer set, and the second layer set can include a decoration layer, a background layer, and a second application layer, the second application layer being configured to display display content corresponding to the operation instruction.

[0305] The electronic device can further include:

[0306] The processing module 330 can also be configured to clear the target layer when the motion track does not meet the preset condition, and determine display parameters of the second layer set based on the configuration information of the target application.

[0307] The processing module 330 can also be configured to generate the background layer and the second application layer based on the display parameters of the second set of layers in response to the second operation instruction.

[0308] The processing module 330 can also be configured to adjust the transparency of the decoration layer to the corresponding display transparency based on the display parameters of the second set of layers.

[0309] The processing module 330 can also be configured to generate the second application interface based on the background layer, the second application layer, and the decoration layer.

[0310] The outer screen 310 can also be configured to display the second application interface.

[0311] Further, please refer to FIG. 19, which shows a hardware structure diagram of an electronic device according to an embodiment of the present application.

[0312] The electronic device 100 can include a processor 101, a memory 102, a wireless communication module 103, a mobile communication module 104, an antenna 103A, an antenna 104A, a power switch 105, a sensor module 106, a focusing motor 107, a camera 108, a display screen 109, and the like. The sensor module 106 can include a gyroscope sensor 106A, an acceleration sensor 106B, an ambient light sensor 106C, an image sensor 106D, a distance sensor 106E, and the like. The wireless communication module 103 can include a WLAN communication module, a Bluetooth communication module, and the like. The above-mentioned parts can transmit data through a bus.

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

[0314] The memory 102 can be used to store computer executable program codes, which can include instructions. The processor 101 performs various functional applications and data processing of the electronic device 100 by running the instructions stored in the memory 102. The memory 102 can include a program storage area and a data storage area. In a specific implementation, the memory 102 can include a high-speed random access memory, and can also include a non-volatile memory such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.

[0315] The wireless communication function of the electronic device 100 can be implemented by the antenna 103A, the antenna 104A, the mobile communication module 104, the wireless communication module 103, the modem processor, and the baseband processor, etc.

[0316] The antenna 103A and the antenna 104A can be used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.

[0317] The mobile communication module 104 can provide a solution including 2G / 3G / 4G / 5G wireless communication applied to the electronic device 100.

[0318] The wireless communication module 103 can provide a solution including wireless local area networks (WLAN), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, and other wireless communication applied to the electronic device 100.

[0319] The gyroscope sensor 106A can be used to determine the motion posture of the electronic device 100.

[0320] The acceleration sensor 106B can detect the magnitude of the acceleration of the electronic device 100 in each direction (generally three axes).

[0321] The electronic device 100 can implement the photographing function through the ISP, the camera 108, the video codec, the GPU, the display screen 109, and the application processor, etc.

[0322] The electronic device 100 can implement the display function through the GPU, the display screen 109, and the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 109 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 101 can include one or more GPUs that execute program instructions to generate or change display information.

[0323] The display screen 109 is used to display images, videos, etc. The display screen 109 includes a display panel. In some embodiments, the electronic device 100 can include 1 or N display screens 109, N being a positive integer greater than 1.

[0324] The structure of the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can include more or fewer components than illustrated, or combine certain components, or split certain components, or different arrangement of components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.

[0325] In the embodiments of the present application:

[0326] Any one or more of the wireless communication module 103, the mobile communication module 104, the sensor module 106, the focusing motor 107, the camera 108, etc. can be used to detect the current environmental characteristics of the electronic device 100.

[0327] The display screen 109 is used to display the user interface provided by the electronic device 100 as described above, such as a shooting interface or a photo album interface. The user interface displayed by the display screen 109 can refer to the UI embodiments described above.

[0328] The operations performed by the various devices in the electronic device 100 can refer to the related descriptions of the method embodiments described above.

[0329] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The embodiments of the present application take a mobile operating system with a layered architecture as an example to illustrate the software structure of the electronic device 100.

[0330] It can be understood that the software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture, which is not limited in the present application. For ease of understanding, see FIG. 20, which is a software structure block diagram provided by an embodiment of the present application. As shown in FIG. 20, the layered architecture divides the software into several layers, each layer has a clear role and division of labor, and the layers can communicate through a software interface.

[0331] In some embodiments, the system of the electronic device 100 can be divided into two layers from top to bottom, an application layer and a driver layer, wherein the application layer can include a SystemUI and a target application, and the driver layer can include a Window Manager Service (WMS) and a Package Manager Service (PMS). Specifically, the SystemUI application can be used to create a decoration layer; the target application can be used to perform an interface switching action corresponding to an operation instruction of the user in response to the operation instruction of the user; and the target application can further include configuration information for specifying display state requirements of the decoration layer for different operation scenarios or application interfaces. For example, the target application can configure which scenarios require display of the decoration layer and which scenarios do not require display of the decoration layer.

[0332] Further, the WMS can be used to save related data of the decoration layer and display or hide the decoration layer according to the current interaction scenario and the configuration information of the target application. Since the Google framework mechanism cannot accurately determine the target display state of the decoration layer in some scenarios, the WMS can provide a hiding interface and a display interface of the decoration layer for various applications to adjust the display state of the decoration layer by themselves.

[0333] Further, the PMS can parse the configuration information of the target application in the AndroidManifest.xml and provide the configuration information to the WMS.

[0334] Further, please refer to FIG. 21, which is another software structure block diagram provided by an embodiment of the present application. As shown in FIG. 21, the layered architecture divides the software into several layers, each layer has a clear role and division of labor, and the layers can communicate with each other through a software interface.

[0335] In some embodiments, the system of the electronic device 100 can be divided into five layers from top to bottom, an application layer, an application framework layer, a system runtime library layer, a hardware abstraction layer (HAL), and a kernel layer. The above-mentioned layers are described as follows:

[0336] The application layer can include a series of application packages. For example, the application packages of the application layer can include camera, gallery, calendar, call, map, navigation, browser, video, music, and short message applications.

[0337] The application framework layer can provide application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer can include some pre-defined functions.

[0338] Exemplarily, the application framework layer can include an activity manager, a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, an accelerated graphics port (AGP), and the like. Among them:

[0339] The activity manager can be used to manage the life cycle of each application and the general navigation back function.

[0340] The window manager can be used to manage window programs. Exemplarily, the window manager can obtain the display screen size of the electronic device 100, lock the screen, intercept the screen, and determine whether there is a status bar, and the like.

[0341] The content provider can be used to store and obtain data, and make the data accessible to applications, so that different applications can access or share data. Exemplarily, the above-mentioned data can include videos, images, audios, dialed and received calls, browsing history and bookmarks, and phone books, and the like.

[0342] The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and the like. The view system can be used to build an application. A display interface can be composed of one or more views. For example, a display interface including a short message notification icon can include a view for displaying text and a view for displaying pictures.

[0343] The telephony manager is used to provide communication functions of the electronic device 100, such as management of call states (including connecting a call, hanging up a call, and the like).

[0344] The resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, and the like.

[0345] The notification manager enables applications to display notification information in the status bar, which can be used to convey alert-type messages that can automatically disappear after a brief stay without user interaction. Illustratively, the notification manager can be used to alert of download completion, message reminders, etc. The notification manager can also be a notification that appears in the form of a graphic or scrolling text at the top of the status bar of the system, such as a notification of an application running in the background, and can also be a notification that appears in the form of a dialog window on the display screen. For example, the notification manager can be used to display text information in the status bar, issue a prompt sound, vibrate the electronic device, flash an indicator light, etc.

[0346] The AGP in the application framework layer can be used to improve the rendering performance of the graphics card, such as providing more cache capacity to the graphics card to achieve faster image processing speed.

[0347] The system runtime library layer can include a system library and an Android runtime. Among them:

[0348] The Android runtime includes a core library and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system. Among them, the core library contains two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the java file of the application layer and the application framework layer into a binary file. The virtual machine is used to manage the object lifecycle, stack management, thread management, security and exception management, and garbage collection functions.

[0349] The system library can be understood as the support of the application framework, which is an important link connecting the application framework layer and the kernel layer. The system layer can include multiple functional modules, such as a surface manager, media libraries, a three-dimensional graphics processing library (such as OpenGL ES), a two-dimensional graphics engine (such as SGL), etc. Among them:

[0350] The surface manager can be used to manage the display subsystem, such as managing the interaction between display and access operations when the electronic device 100 executes multiple applications. The surface manager can also be used to provide two-dimensional and three-dimensional layer fusion for multiple applications.

[0351] The media library can support multiple commonly used audio, video format playback and recording, and static image files, etc. The media library can support multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0352] The three-dimensional graphics processing library is used to realize three-dimensional graphics drawing, image rendering, synthesis, and layer processing, etc.

[0353] A two-dimensional graphics engine can be understood as a drawing engine for two-dimensional drawing.

[0354] The hardware abstraction layer provides a standard interface, such as a HAL interface definition language (HIDL) interface or an android interface definition language (AIDL) interface.

[0355] The kernel layer can be understood as an abstraction layer between hardware and software. The kernel layer can include system services such as security, memory management, process management, power management, network protocol management, and driver management. Illustratively, the kernel layer can include drivers, such as display drivers, camera drivers, audio drivers, and sensor drivers.

[0356] In some embodiments, the kernel layer can be understood as the kernel state, and the other four layers (i.e., the application layer, the application framework layer, the system runtime library layer, and the HAL) can be understood as the user state.

[0357] It can be understood that various applications that can exist in the application layer have video recording and / or playing functions. Illustratively, a camera has a video recording function, and applications such as a gallery, navigation, and a browser can all have video playing functions. Further, based on the length, resolution, and shooting parameters of a video, all of which can affect the recording and / or playing of the video. The shooting parameters can be aperture value, shutter speed, sensitivity, exposure, focal length, and depth of field.

[0358] Illustratively, the related parameters of video recording and / or playing supported by various applications can be stored in a sensor binary file (sensor bin). The sensor bin file can be stored in an external storage, such as a disk or a hard disk. When a user uses a specific application to record and / or play a video, the application can read the related parameters of video recording and / or playing to the memory, so that the user can normally use the application and ensure the user's experience.

[0359] It should be understood that each step in the above method embodiments can be completed by integrated logic circuits of hardware in the processor or instructions in the form of software. The method steps disclosed in combination with the embodiments of the present application can be directly embodied as execution completed by a hardware processor, or executed by a combination of hardware and software modules in the processor.

[0360] The present application also provides an electronic device, which can include a memory and a processor. The memory can be used to store a computer program, and the processor can be used to invoke the computer program in the memory to enable the electronic device to execute the method performed by the electronic device in any one of the above embodiments.

[0361] The present application also provides a chip system, which includes at least one processor for implementing the functions involved in the electronic device side in any one of the above embodiments.

[0362] In some possible designs, the chip system further includes a memory for storing program instructions and data, and the memory is located in or outside the processor.

[0363] The chip system can be composed of a chip, or can include a chip and other discrete devices.

[0364] Optionally, the processor in the chip system can be one or more. The processor can be implemented by hardware or software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented by software, the processor can be a general-purpose processor, which is implemented by reading software codes stored in the memory.

[0365] Optionally, the memory in the chip system can also be one or more. The memory can be integrated with the processor, or can be separately arranged from the processor, and the embodiments of the present application are not limited in this regard. For example, the memory can be a non-transient processor, such as a read-only memory (ROM), which can be integrated on the same chip as the processor, or can be separately arranged on different chips, and the embodiments of the present application do not make specific limitations on the type of memory and the arrangement of the memory and the processor.

[0366] Exemplarily, the chip system can be a field programmable gate array (FPGA), can be an application specific integrated circuit (ASIC), can be a system on chip (SoC), can be a central processor unit (CPU), can be a network processor (NP), can be a digital signal processor (DSP), can be a micro controller unit (MCU), can be a programmable logic device (PLD), or other integrated chip.

[0367] The present application also provides a computer program product, which comprises a computer program (also referred to as code or instruction), which, when executed, causes a computer to perform the method performed by the electronic device side in any one of the above embodiments.

[0368] The present application also provides a computer readable storage medium, which stores a computer program (also referred to as code or instruction). When the computer program is executed, it causes a computer to perform the method performed by the electronic device side in any one of the above embodiments.

[0369] In the above embodiments, according to the context, the term "when" can be interpreted as meaning "if" or "after" or "in response to determining" or "in response to detecting". Similarly, according to the context, the phrase "upon determining" or "if detecting (the stated condition or event)" can be interpreted as meaning "if determining" or "in response to determining" or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)".

[0370] The embodiments of the present application can be combined in any manner to achieve different technical effects.

[0371] In the above embodiments, all or part of the processes can be implemented by software, hardware, firmware, or any combination thereof. When implemented by software, all or part of the processes can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes described in the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transferred from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) manner. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media sets. The available media can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)), etc.

[0372] Those of ordinary skill in the art can understand that all or part of the processes in the above embodiments can be implemented by a computer program to instruct the relevant hardware, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above embodiments. The storage medium includes ROM or random access memory (RAM), magnetic or optical disks, and various media that can store program codes.

[0373] In summary, the above only describes the embodiments of the technical scheme of the present application, and is not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present application shall be included in the protection scope of the present application.

Claims

1. A method of displaying an application interface, the method comprising: The method is applied to an electronic device including an outer screen on which a camera is arranged, and the method comprises: The outer screen displays a first interface, and the first interface includes a target control of a target application; A first operation instruction acting on the target control is received; Based on configuration information of the target application, display parameters of a layer set corresponding to the first operation instruction are determined, the layer set includes a background layer, an application layer, and a decoration layer, and the application layer includes display content corresponding to the first operation instruction; In response to the first operation instruction, a second interface is displayed on the outer screen based on the display parameters, the second interface includes a first display area and a second display area, the camera is in the first display area and out of the second display area, the application layer is displayed in the second display area, and the decoration layer and the background layer are displayed in the first display area.

2. The method of claim 1, wherein, The configuration information of the target application includes display parameters corresponding to a plurality of application interfaces of the target application respectively; The display parameters of the layer set corresponding to the first operation instruction are determined based on the configuration information of the target application, which comprises: A target interface is determined based on the first operation instruction, and the target interface is an original interface of the target application in response to the first operation instruction; Display parameters corresponding to the target interface are determined from display parameters corresponding to the plurality of application interfaces respectively.

3. The method of claim 2, wherein, The display parameters corresponding to the plurality of application interfaces respectively include the size, display level, display content of the background layer and the application layer, and the display transparency of the decoration layer in the corresponding application interface.

4. The method of claim 3, wherein, The display level of the decoration layer is higher than the display level of the background layer and the application layer; If the display level of the application layer is the same as the display level of the background layer, the size of the background layer is the same as the size of the first display area; If the display level of the application layer is higher than the display level of the background layer, the size of the background layer is greater than or equal to the size of the first display area.

5. The method according to any one of claims 1 to 4, characterized in that, Before displaying the second interface on the outer screen, the method further comprises: A transition interface is displayed on the outer screen, and the transition interface includes the background layer, the application layer, and the decoration layer with a target transparency, and the target transparency is determined based on a playing area of a dynamic effect corresponding to the first operation instruction.

6. The method of claim 5, wherein, The method further comprises: If the playing area of the dynamic effect corresponding to the first operation instruction is the second display area, the target transparency is determined as a first transparency, and the first transparency is the transparency corresponding to the decoration layer in the first interface; If the playing area of the dynamic effect corresponding to the first operation instruction is the entire outer screen, the target transparency is determined as a second transparency, and the second transparency is the transparency corresponding to the hidden decoration layer.

7. The method of claim 6, wherein, The method further comprises: A start-up instruction for the electronic device is received; In response to the start-up instruction, the decoration layer is generated based on preset information, the preset information including a size of the decoration layer, display content corresponding to the decoration layer, and an initial transparency of the decoration layer, the initial transparency being the second transparency.

8. The method of claim 7, wherein, The response to the first operation instruction includes: In response to the first operation instruction, the background layer and the application layer are generated based on the display parameter; The initial transparency of the decoration layer is adjusted to the display transparency based on the display parameter; The second interface is generated based on the background layer, the application layer, and the decoration layer; The second interface is displayed on the outer screen.

9. The method of claim 8, wherein, The method further includes: When the target application is downloaded in the electronic device or when the target application runs to a target node, an information description file corresponding to the target application is acquired; Configuration information of the target application is determined based on the information description file.

10. The method according to any one of claims 1-9, characterized in that, The outer screen includes a first operation area, and the method further includes: A first application interface of a target application is displayed on the outer screen, the first application interface being one of a plurality of application interfaces corresponding to the target application, the first application interface corresponding to a first layer set; A second operation instruction acting on the first application interface is received; When a starting point of a motion track of the second operation instruction is within the first operation area, a target layer is generated, the target layer being a display layer corresponding to a desktop of the outer screen, the display level of the target layer being lower than that of each layer in the first layer set; If the motion track meets a preset condition, the desktop is displayed on the outer screen based on the target layer; If the motion track does not meet the preset condition, the target layer is cleared, and a second application interface corresponding to the second operation instruction is displayed on the outer screen.

11. The method of claim 10, wherein, The outer screen further includes a second operation area, the first operation area being located at the bottom of the outer screen, and the second operation area being located at the top of the outer screen; The preset condition is that a touch point corresponding to the motion track is slid upward from the first operation area to a central position of the second operation area.

12. The method of claim 11, wherein, The method further includes: If the motion track meets a preset condition, the desktop is displayed on the outer screen based on a decoration layer and the target layer, the transparency of the decoration layer being a second transparency, the second transparency being a transparency corresponding to a hidden decoration layer, and the size of the target layer being the same as that of the outer screen.

13. The method of claim 12, wherein, The second application interface corresponds to a second layer set, the second layer set including the decoration layer, a background layer, and a second application layer, the second application layer being used to display display content corresponding to the operation instruction; The method further includes: If the motion track does not meet the preset condition, the target layer is cleared, and display parameters of the second layer set are determined based on configuration information of the target application, the display parameters of the second layer set including sizes, display levels, display contents of the background layer and the second application layer, and display transparency of the decoration layer; In response to the second operation instruction, the background layer and the second application layer are generated based on the display parameters of the second layer set; Based on the display parameters of the second layer set, the transparency of the decoration layer is adjusted to the corresponding display transparency; Based on the background layer, the second application layer and the decoration layer, the second application interface is generated; The second application interface is displayed on the outer screen.

14. An electronic device, comprising: The electronic device includes an outer screen and a processing module, and the outer screen is provided with a camera; The outer screen is configured to display a first interface, and the first interface includes a target control of a target application; The outer screen is further configured to receive a first operation instruction acting on the target control; The processing module is configured to determine display parameters of a layer set corresponding to the first operation instruction based on configuration information of the target application, the layer set including a background layer, an application layer and a decoration layer, and the application layer containing display content corresponding to the first operation instruction; The processing module is further configured to display a second interface on the outer screen based on the display parameters in response to the first operation instruction, the second interface including a first display area and a second display area, the camera being in the first display area and out of the second display area, the application layer being displayed in the second display area, and the decoration layer and the background layer being displayed in the first display area.

15. An electronic device, comprising: A processor, a memory, the memory being configured to store a computer program, the computer program including program instructions, and the processor being configured to invoke the program instructions so that the method of any one of claims 1-13 is executed.

16. A computer readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program includes program instructions, and the program instructions are executed by the processor so that the method of any one of claims 1-13 is executed.