Window display method and device, electronic equipment, storage medium and program product

By displaying application settings information and operation controls in the feature request window, the problem of monotonous display style of the feature request pop-up window is solved, enabling personalized display and simplified operation, thus improving the user experience.

CN122308973APending Publication Date: 2026-06-30BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING ZITIAO NETWORK TECH CO LTD
Filing Date
2024-12-27
Publication Date
2026-06-30

Smart Images

  • Figure CN122308973A_ABST
    Figure CN122308973A_ABST
Patent Text Reader

Abstract

This disclosure provides a window display method, apparatus, electronic device, storage medium, and program product. The method includes: displaying a preset page of an application; and, in response to a function request instruction for a preset system function, displaying a first request window for the preset system function, wherein the first request window includes a first window area and a second window area, the first window area being used to display first function request information, which is set by the application for the preset system function; and the second window area being used to display operation controls for the preset system function, the operation controls being configured to trigger the application to enable or disable the preset system function. This disclosure utilizes the above technical solution to enrich the display style of the function request window without increasing the complexity of enabling the preset system function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] To make it easier for users to manage application system functions, electronic device manufacturers provide application function request pop-ups. Applications can use these pop-ups to request one or more system functions from users. However, the display style of these function request pop-ups in related technologies is relatively simple and cannot meet the display requirements of applications. Summary of the Invention

[0003] This disclosure provides a window display method, apparatus, electronic device, storage medium, and program product to enrich the display style of function request pop-ups and meet the display requirements of application programs for function request pop-ups.

[0004] In a first aspect, embodiments of this disclosure provide a window display method, including:

[0005] Display the application's default page;

[0006] In response to a function request instruction for a preset system function, a first request window for the preset system function is displayed. The first request window includes a first window area and a second window area. The first window area is used to display first function request information, which is set by the application for the preset system function. The second window area is used to display operation controls for the preset system function, which are configured to trigger the application to enable or disable the preset system function.

[0007] Secondly, embodiments of this disclosure also provide a window display device, including:

[0008] The first page display module is used to display the application's default page;

[0009] A window display module is used to display a first application window for a preset system function in response to a function application instruction for a preset system function. The first application window includes a first window area and a second window area. The first window area is used to display first function application information, which is set by the application for the preset system function. The second window area is used to display operation controls for the preset system function, which are configured to trigger the application to enable or disable the preset system function.

[0010] Thirdly, embodiments of this disclosure also provide an electronic device, including:

[0011] One or more processors;

[0012] Memory, used to store one or more programs.

[0013] When the one or more programs are executed by the one or more processors, the one or more processors implement the window display method as described in the embodiments of this disclosure.

[0014] Fourthly, embodiments of this disclosure also provide a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the window display method as described in embodiments of this disclosure.

[0015] Fifthly, embodiments of this disclosure also provide a computer program product that, when executed by a computer, causes the computer to implement the window display method as described in embodiments of this disclosure.

[0016] The window display method, apparatus, electronic device, storage medium, and program product provided in this disclosure support displaying the first function application information set by the application for the preset system function in the first window area of ​​the application window for the preset system function. It also supports the user to enable or keep the preset system function closed by triggering the operation controls displayed in the second window area of ​​the application window without switching the application window. This enriches the display style of the function application window without increasing the complexity of enabling the preset system function and meets the personalized display needs of the application for the function application pop-up. Attached Figure Description

[0017] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.

[0018] Figure 1 A flowchart illustrating a window display method provided in an embodiment of this disclosure;

[0019] Figure 2 A schematic diagram illustrating the display of a first application window provided in an embodiment of this disclosure;

[0020] Figure 3 A flowchart illustrating another window display method provided in an embodiment of this disclosure;

[0021] Figure 4 A schematic diagram illustrating the display of a system pop-up window provided in an embodiment of this disclosure;

[0022] Figure 5 A schematic diagram illustrating the display of an in-application pop-up window provided in an embodiment of this disclosure;

[0023] Figure 6 This is a schematic diagram illustrating the display of a preset page according to an embodiment of the present disclosure;

[0024] Figure 7 A schematic diagram illustrating the display of a second application transparent page provided in an embodiment of this disclosure;

[0025] Figure 8 A schematic diagram illustrating the display of a transparent page in a system according to an embodiment of this disclosure;

[0026] Figure 9 A schematic diagram illustrating the display of a first application transparent page provided in an embodiment of this disclosure;

[0027] Figure 10 A schematic diagram illustrating the display of a second application window provided in an embodiment of this disclosure;

[0028] Figure 11 A schematic diagram illustrating the display of a third application window provided in an embodiment of this disclosure;

[0029] Figure 12 This is a schematic diagram illustrating the display of a region of a first window area according to an embodiment of the present disclosure;

[0030] Figure 13 A schematic diagram showing another area of ​​the first window region provided in an embodiment of this disclosure;

[0031] Figure 14 A structural block diagram of a window display device provided in an embodiment of this disclosure;

[0032] Figure 15 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0033] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0034] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.

[0035] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.

[0036] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0037] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0038] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0039] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.

[0040] Figure 1 This is a flowchart illustrating a window display method provided in an embodiment of this disclosure. The method can be executed by a window display device, which can be implemented in software and / or hardware and can be configured in an electronic device, typically a computer, mobile phone, or tablet computer. The window display method provided in this disclosure is applicable to scenarios where an application requests the activation of system functions through a function request window. Figure 1 As shown, the window display method provided in this embodiment may include:

[0041] S101, Display the application's default page.

[0042] The application can be an application that performs the window display method provided in the embodiments of this disclosure, such as the current application. The preset page can be understood as the page displayed by the application before the first application window is displayed. This preset page is not limited; it may include, but is not limited to, a media content display page, a camera page, a message page, and / or a conversation page, etc.

[0043] Specifically, it can display the application's default page so that users can view the content displayed on the default page.

[0044] S102. In response to a function request instruction for a preset system function, a first request window for the preset system function is displayed, wherein the first request window includes a first window area and a second window area, the first window area is used to display first function request information, which is set by the application for the preset system function; the second window area is used to display operation controls for the preset system function, which are configured to trigger the application to enable or disable the preset system function.

[0045] The function request instruction can be understood as an instruction used to request that a certain system function be enabled for the application. The function request instruction can be generated when the application conditions for a system function are met. These application conditions can be understood as the conditions for requesting the activation of a certain system function, and can be flexibly set as needed. Such application conditions may include the m-th time the application's preset page is displayed, the n-th time a content switching operation is received on the preset page, and / or the receipt of a trigger operation to use a function of the application, where this function depends on a system function that is not currently enabled by the application, etc. m and n are both positive integers, and their specific values ​​are not limited. For example, m and / or n can be set to 1, 2, or 3, etc.

[0046] Preset system functions can be understood as system functions requested by the function request command to be enabled for applications. These system functions can be the ability to access and / or various resources and services of the operating system.

[0047] The first application window for preset system functions can be understood as a window requesting the activation of preset system functions for the application. This first application window may include a first window area and a second window area. The first window area can be used to display first function application information. This first function application information can be understood as information configured by the application for the preset system functions to request the activation of preset system functions, which may include, but is not limited to, character-based information content and / or image-based information content. For example, the first function application information can be used to explain the reason, purpose, and / or the method of activating the preset system functions for the application. The second window area can be used to display operation controls for the preset system functions, which can be configured to trigger allowing or denying the activation of preset system functions for the application. The first window area and the second window area may or may not overlap. For example, the first window area and the second window area can be non-overlapping areas, and the first window area and the second window area can have a visually continuous area with an overlapping boundary line in display position.

[0048] For example, when the current conditions meet the application conditions for a preset system function, a function application instruction for the preset system function can be generated. In response to this function application instruction, the preset page of the application is maintained, and a first application window 20 for the preset system function is displayed. In the first window area 21 of this first application window 20, the first function application information set by the application for the preset system function and used to apply for enabling the preset system function is displayed. In the second window area 22 of this first application window 20, at least one operation control (such as...) is displayed. Figure 2 The control shown is 23 for enabling and 24 for disabling. Figure 2 As shown in the figure (the preset system function is the message notification function as an example).

[0049] In this embodiment, it is possible to display the first function application information set by the application for the preset system function in the first window area of ​​the first application window of the preset system function, and to allow the user to enable or keep the preset system function closed by triggering the operation controls displayed in the second window area of ​​the first application window without switching the first application window. This can enrich the display style of the first function application window without increasing the complexity of enabling the preset system function, and meet the personalized display needs of the application for the function application pop-up.

[0050] In this embodiment, the first window area and the second window area can be displayed on the same or different pages. Optionally, the first application window displaying the preset system function includes: displaying the first window area in the first page area of ​​the first application transparent page, and displaying the second window area in the second page area of ​​the system transparent page, wherein the display level of the first application transparent page is higher than the display level of the system transparent page, and the display level of the system transparent page is higher than the display level of the preset page.

[0051] The first application transparent page can be understood as a transparent page created by the application to display the first application window's first window area. The system transparent page can be understood as a transparent page created by the operating system to display the second application window's second window area. This transparent page can be understood as a pop-up page, which typically refers to the effect of covering another page on top of an application interface (such as a preset page). For example, the first application transparent page can be completely transparent, and the system transparent page can be completely transparent or partially transparent; this embodiment does not limit this. The display layer of the first application transparent page is higher than that of the system transparent page, and the display layer of the system transparent page is higher than that of the preset page displayed before receiving the function application instruction. In other words, the system transparent page can cover the preset page, and the first application transparent page can cover the system transparent page. The operating system can be the operating system used by the electronic device on which the application is installed, such as Android or iOS.

[0052] The first page area can be understood as the area used to display the first application window, i.e., the display area of ​​the first window area. The second page area can be understood as the area used to display the second application window, i.e., the display area of ​​the second window area.

[0053] For example, a first window area and a second window area of ​​the first application window can be displayed on different transparent pages. For instance, the first window area of ​​this first application window (including the first function application information and other content displayed in the first window area) can be displayed on a first application transparent page created by the application, and the second window area of ​​this first application window (including the operation controls and other content displayed in the second window area) can be displayed on a system transparent page created by the operating system.

[0054] In some implementations, users can directly enable or disable preset system functions for an application based on the operation controls displayed in the second window area, without switching the currently displayed window. Optionally, after displaying the first application window for the preset system function, at least one of the following is further included: in response to a trigger operation on a first operation control in the second window area, enabling the preset system function for the application and de-displaying the first application window; in response to a trigger operation on a second operation control in the second window area, keeping the preset system function of the application disabled and de-displaying the first application window.

[0055] The first operation control can be understood as a control used to trigger the enabling of preset system functions for the application, such as a control to allow the enabling of preset system functions. The second operation control can be understood as a control used to trigger the preventing of preset system functions from being enabled for the application, such as a control to disable the enabling of preset system functions.

[0056] For example, upon receiving a trigger operation on a first operation control displayed in the second window area 22, such as when it is detected that the user has triggered the enable control 23 displayed in the second window area 22 (e.g., Figure 2 In the case shown, preset system functions can be enabled for the application. Furthermore, a prompt message indicating that preset system functions have been enabled can be displayed to indicate that preset system functions have been enabled for the application; and / or, the first application window 20 displaying preset system functions can be cancelled so that the user can continue viewing the content in the application.

[0057] Upon receiving a trigger operation on the second operation control displayed in the second window area 22, such as when it is detected that the user has triggered the disable control 24 displayed in the second window area 22 (e.g. Figure 2 In the case shown, default system functions can be disabled for the application, such as keeping the application's default system functions off. Furthermore, the first application window 20 displaying default system functions can be further disabled to allow the user to continue viewing the content within the application.

[0058] In this embodiment, the method for canceling the display of the first application window for the preset system function is not limited. For example, the display of the first application window for the preset system function can be canceled by closing (e.g., destroying) the transparent page on which the first application window is located. When closing the transparent page on which the first application window is located, for example, a destruction command can be generated for the transparent page on which the first application window is located to destroy it; alternatively, the transparent page on which the first application window is located can be destroyed by calling a Single Task instance.

[0059] In some implementations, before displaying the first application window for the preset system function, the method further includes: displaying a second application transparency page of the application, wherein the display level of the second application transparency page is higher than the display level of the preset page, and the display level of the second application transparency page is lower than the display level of the system transparency page; canceling the display of the first application window includes: invoking a single-task instance of the second application transparency page, and closing the first application window through the single-task instance; in response to the closing of the first application window, canceling the display of the second application transparency page.

[0060] The second application transparent page can be understood as a transparent page created by the application to destroy the system transparent page and the first application transparent page when it is invoked. For example, the launch mode of the second application transparent page instance can be Single Task mode. In this mode, when the instance corresponding to the second application transparent page is invoked, all pages above it are cleaned up so that the instance of the second application transparent page is at the top of the task stack. The second application transparent page and the first application transparent page can be different transparent pages. For example, the second application transparent page can overlay on top of and be adjacent to a preset page, such as the second application transparent page being located between the preset page and the system transparent page. A single task instance can be understood as an instance in Single Task mode.

[0061] For example, before displaying the first application window for the preset system functions, such as before creating the system transparent page for the second window area used to display the first application window, a second application system transparent page is created, and the launch mode of this instance of the second application system transparent page is set to Single Task mode. Therefore, after detecting that the user has triggered an operation control displayed in the second window area, such as after receiving a trigger prompt message generated by the operating system in response to the user's triggering of the operation control displayed in the second window area, the instance of the second application system transparent page can be invoked. Since the instance of the second application system page is in Single Task mode, invoking the instance of the second application system transparent page can trigger the closure of all transparent pages covering the second application system page, such as triggering the sequential destruction of the first application transparent page and the system transparent page, thereby canceling the display of the first application window for the preset system functions. After the system transparent page is destroyed, the second application system transparent page can self-destruct, thus returning to the application's preset page.

[0062] The window display method provided in this embodiment displays a preset page of an application; in response to a function request instruction for a preset system function, a first request window for the preset system function is displayed. This first request window includes a first window area and a second window area. The first window area displays first function request information, which is set by the application for the preset system function. The second window area displays operation controls for the preset system function, which are configured to trigger the application to enable or disable the preset system function. This embodiment, utilizing the above technical solution, supports displaying the first function request information set by the application for the preset system function in the first window area of ​​the preset system function request window. It also supports users enabling or disabling the preset system function for the application by triggering the operation controls displayed in the second window area of ​​the request window, without switching the request window. This enriches the display style of the function request window without increasing the complexity of enabling the preset system function, meeting the personalized display needs of the application for function request pop-ups.

[0063] Figure 3 This is a flowchart illustrating another window display method provided in an embodiment of this disclosure. The solution in this embodiment can be combined with one or more optional solutions in the above embodiments. Optionally, displaying the first window area in the first page area of ​​the first application transparent page includes: displaying the system transparent page of the operating system; responding to the display of the system transparent page, displaying the first application transparent page of the application, and displaying the area screen of the first window area in the first page area of ​​the first application transparent page.

[0064] Optionally, displaying the second window area in the second page area of ​​the system transparent page includes: responding to the display of the system transparent page by calling a preset application programming interface to display a third application window for the preset system function on the system transparent page, wherein the third application window includes a second window area and a fourth window area, the fourth window area is used to display second function application information, the second function application information is set by the operating system for the preset system function, and the fourth window area is obscured by the area screen of the first window area.

[0065] Correspondingly, such as Figure 3 As shown, the window display method provided in this embodiment may include:

[0066] S201. Display the application's default page.

[0067] S202. In response to a function request instruction for a preset system function, the system transparent page of the operating system is displayed, and S203 and S204 are executed. The display level of the system transparent page is higher than the display level of the preset page.

[0068] Specifically, upon receiving a function request instruction for a preset system function, the application's preset page can be displayed, and a system transparent page created by the operating system can be displayed on top of this preset page. This system transparent page can cover the preset page; in other words, the display level of this system transparent page can be higher than the display level of the preset page.

[0069] S203. In response to the display of the system transparent page, the first application transparent page of the application is displayed, and the area screen of the first window area of ​​the first application window is displayed in the first page area of ​​the first application transparent page, wherein the first window area is used to display the first function application information, and the first function application information is set by the application for the preset system function.

[0070] Specifically, after displaying the system transparent page, if it is detected that the rendering of the system transparent page is complete, the rendering of the first application transparent page of the application can continue to be carried out to display this first application transparent page. After the rendering of this first application transparent page is completed, the first window area of ​​the first application window can be displayed in the first page area of ​​the rendered first application transparent page. That is, the area screen containing the first function application information set by the application for the preset system function can be displayed in the first page area of ​​the rendered first application transparent page.

[0071] In this embodiment, the method of obtaining the area image of the first window region is not limited. For example, the area image of the first window region can be preset and saved, so that after the first application transparent page is rendered, the preset area image of the first window region can be obtained and displayed; or the area image information of the first window region can be preset and stored, so that after the first application transparent page is rendered, the area image of the first window region can be drawn and displayed based on the area image information of the first window region, etc.

[0072] In some implementations, before the first window area is displayed in the first page area of ​​the first application transparent page, the method further includes: drawing the area of ​​the first window area according to the second application window set by the application for the preset system function.

[0073] The second application window for preset system functions can be understood as the function application window displayed by the application for preset system functions.

[0074] In the above embodiments, the region of the first window area can be drawn based on the second application window set by the application for preset system functions, so as to ensure that the drawn region of the first window area is the current actual display screen of the first window area, thereby further improving the display effect of the first application window.

[0075] Specifically, after the first application transparent page is rendered, the area of ​​the first window can be drawn according to the second application window for the preset system functions of the application.

[0076] For example, the first window area of ​​the first application window can be generated based on the second application window of the application for a preset system function. For instance, the first application window can be obtained by combining the second window area with the area of ​​the first window area drawn based on the second application window. Thus, after the first application transparent page is rendered, the area of ​​the first window area can be drawn according to the window information of the second application window of the application for the preset system function.

[0077] In the above embodiments, the method of drawing the area of ​​the first window region can be flexibly set.

[0078] In some implementations, the second application window of the preset system function may not be fully rendered. For example, the area of ​​the third window region in the second application window may be rendered directly based on the window information of the second application window of the preset system function, and used as the area of ​​the first window region of the first application window.

[0079] In some implementations, the second application window with the preset system functions can be fully rendered. After the second application window is rendered, the third window area in the second application window can be identified and the area of ​​the third window area can be directly drawn as the area of ​​the first window area of ​​the first application window. There is no need to draw the area of ​​other areas (such as the fourth window area) in the second application window other than the third window area.

[0080] In some implementations, after the second application window for the preset system function is rendered, the window screen of this second application window can be drawn, and the area screen of the first window region of the first application window can be obtained based on this window screen. Optionally, drawing the area screen of the first window region according to the second application window set by the application for the preset system function includes: calling a preset application programming interface to display the second application window for the preset system function on the first application transparent page, the second application window including a third window region and a fourth window region, the third window region being displayed in the first page region of the first application transparent page, the third window region being used to display first function application information, and the fourth window region being used to display preset controls set by the application for the preset system function; drawing the window screen of the second application window, and cropping the window screen to obtain the area screen of the third window region, which serves as the area screen of the first window region.

[0081] The third window area can be the area in the second application window for preset system functions used to display the first function application information of the preset system functions. The fourth window area can be the area in the second application window for preset system functions used to display controls. Preset controls can be understood as controls set by the application for preset system functions. Since these preset controls are displayed by the application calling the preset application programming interface (API), rather than by the operating system calling the preset application interface, the preset controls displayed in the fourth window area may not support the user triggering the direct activation of preset system functions for the application. The window screen of the second application window can be the complete screen of the second application window drawn based on the second application window. The window screen of the second application window can include the area screen of the third window area and the area screen of the fourth window area. The preset application programming interface can be the API used to display the preset system functions in the second application window. Optionally, it can be the API that the operating system calls by default when displaying the third application window to ensure that the display style of the second application window is consistent with the display style of the third application window.

[0082] For example, after the first application transparent page is rendered, a preset application interface can be called to display a second application window for preset system functions on the first application transparent page. Within this second application window, a third window area displays the first function application information set by the application for the preset system functions, and a fourth window area displays the preset controls set by the application for the preset system functions. After displaying the second application window, its window image can be drawn on a canvas. Based on the position information of the third window area, such as the boundary line between the third and fourth window areas, the window image can be divided to obtain the area image of the third window area, which serves as the area image of the first window area of ​​the first application window.

[0083] In this embodiment, after obtaining the regional image of the first window area, the regional image of this first window area can be displayed in the first application transparent page. For example, based on the display position of the third window area in the second application window in the first application transparent page (i.e., the first page area), the regional image of the first window area can be displayed above or below the first window area. For instance, the second application window can be used as a background, and the regional image of the first window area can be displayed above the layer where the second application window is located; alternatively, the regional image of the first window area can be used as a background, and the regional image of the first window area can be displayed below the layer where the second application window is located.

[0084] In some implementations, after displaying the area view of the first window region, the second application window in the first application transparent page can be de-displayed to improve the simplicity of the first application transparent page and avoid obscuring the second window region of the first application window. Optionally, after displaying the area view of the first window region in the first page area of ​​the first application transparent page, the method further includes de-displaying the second application window.

[0085] S204. In response to the display of the system transparent page, a third application window of the operating system for the preset system function is displayed on the system transparent page, and the fifth window area of ​​the third application window is used as the second window area of ​​the first application window. The third application window includes the fifth window area and a sixth window area. The fifth window area is used to display the operation controls of the preset system function, and the sixth window area is used to display the second function application information. The second function application information is set by the operating system for the preset system function. The sixth window area is obscured by the area screen of the first window area.

[0086] The third request window for preset system functions can be understood as a function request window displayed by the operating system for preset system functions. This third request window may include a fifth window area; for example, the fifth window area of ​​this third request window can be used as the second window area of ​​the first request window, and the first request window can be formed by combining the area of ​​the first window area with the fifth window area of ​​the third request window. Furthermore, this third request window may also include a sixth window area. This sixth window area can be used to display the second function request information in this third request window. This second function request information can be understood as information generated by default by the operating system for preset system functions, used to request the activation of preset system functions. The content of the second function request information is not limited.

[0087] Specifically, after the system transparent page is displayed, if the operating system detects that the system transparent page has finished rendering, it will by default call the preset application programming interface to generate a third application window for preset system functions. This generated third application window is displayed on the system transparent page, and the operation controls corresponding to the preset system functions are displayed in the fifth window area of ​​this third application window. Furthermore, the second function application information corresponding to this preset system function is displayed in the sixth window area of ​​this third application window. Therefore, after the third application window is displayed, the fifth window area of ​​the third application window can be used as the second window area of ​​the first application window.

[0088] It should be noted that since the first application transparent page displays the first window area or the area of ​​the first window area in the same position, and the display layer of the first application transparent page is higher than that of the system transparent page, after the first application page displays the first window area or the first window image, the sixth window area in the third application window will be obscured by the first window area or the area of ​​the first window area. The user will not see the sixth window area in the third application window. Thus, visually, it can present the visual effect of displaying the first application window that includes the first window area and the second window area (i.e., the fifth window area of ​​the third application window).

[0089] Furthermore, due to the need to prioritize the display effects of the third application window, its display speed is typically slower than that of the second application window. Therefore, once the sixth window area of ​​the third application window is rendered, it will be obscured by the third window area of ​​the second application window. Visually, it's generally avoided that the third application window is displayed first, and then its sixth window area is switched to the third window area of ​​the second application window, thus preventing user interference. Additionally, the fourth window area of ​​the second application window can be set to have the exact same display style and content as the fifth window area of ​​the third application window to prevent changes in the control styles seen by the user before and after the second application window is removed.

[0090] The window display method provided in this embodiment can display the first function request information of the application for the preset system function and the operation control of the operating system for the preset system function. It can enrich the display style of the function request window without increasing the complexity of opening the preset system function and meet the personalized display needs of the application for the function request pop-up.

[0091] Currently, electronic device providers (such as mobile phone developers) provide system pop-ups for apps to request system functions, making it easier for users to manage the system functions of their applications (APPs). Apps can request different functions from users through these pop-ups (i.e., third-party request pop-ups). Taking the system notification function as an example... Figure 4 This is a schematic diagram illustrating the display of a system pop-up window for a notification function in related technologies, such as... Figure 4 As shown in the related technology, users can directly enable the system notification function for the APP by clicking the "Allow to Enable" button on the system pop-up. However, the APP cannot customize the style of the system pop-up, including its size and the text displayed, nor can it insert more specific information to explain the reason for the pop-up to the user. If the APP does not explain the reason for the pop-up and directly displays the system pop-up requesting the function, the user may feel that it is abrupt, and the application effect of the system function is poor.

[0092] The solution to this problem in related technologies is to first display the app's own in-app pop-up before the system pop-up appears, such as... Figure 5 As shown ( Figure 5 Taking enabling the system notification function as an example, this in-app pop-up explains to the user why a system function needs to be requested. When the user clicks the function enable control within the pop-up, it indicates that the user understands the reason for requesting the system function. At this point, the system pop-up then appears, such as... Figure 4 As shown, this method aims to allow users to access system functions via pop-ups. However, the function introduction and system authorization button are displayed on two separate pop-ups, requiring users to perform two consecutive "agree" actions to activate the system functions. This results in a lengthy process and a poor user experience.

[0093] Therefore, this embodiment provides a window display method to improve the display effect of system function request pop-ups. In an optional embodiment, taking the preset system function as a system notification function and the operating system as an Android system as an example, the window display method provided in this embodiment may include:

[0094] A1. Display the app's default page, such as... Figure 6 As shown.

[0095] A2. When a user is detected performing an action within the app that triggers a pop-up window displaying a preset system function, launch the app's transparent Activity1, such as BottomDialogActivity (i.e., the second transparent application page). Figure 7 As shown.

[0096] Among them, BottomDialogActivity is started. After BottomDialogActivity is started, the state restoration method BottomDialogActivity#onResume will be called back. Therefore, if BottomDialogActivity#onResume is detected, it means that BottomDialogActivity has finished rendering, and A3 can be executed at this time.

[0097] A3. Launch the system's transparent page, SysActivity (i.e., the system transparent page), such as... Figure 8 As shown.

[0098] When SysActivity finishes starting, it will trigger the state switching method BottomDialogActivity#onPause. Therefore, when BottomDialogActivity#onPause is detected, it means that SysActivity has finished starting, and A4 can be executed at this time.

[0099] A4. Launch the transparent Activity2 of the app, such as TopDialogActivity (i.e., the first transparent page of the application), such as... Figure 9 As shown, after TopDialogActivity starts, an AppDialog (i.e., a second application window) is built and displayed on TopDialogActivity by creating an in-app pop-up with the same style as the system pop-up, which explains the reasons for the pop-up. Figure 10 As shown; and, in the SysActivity display system pop-up window SysDialog (i.e., the third application window), as... Figure 11 As shown, since AppDialog is generally displayed faster than SysDialog, the SysDialog displayed in SysActivity may be obscured by the AppDialog displayed in TopDialogActivity, and the user can only see the pop-up window on TopDialogActivity.

[0100] At this point, the AppDialog pop-up explaining the reason for the pop-up has been implemented within the app. Currently, because the AppDialog covers the SysDialog, users cannot directly enable or disable preset system functions for the application by clicking the system pop-up SysDialog.

[0101] A5. Draw the screen constructed by AppDialog on the canvas and convert it into a bitmap image AppDialogBitmap.

[0102] A6. Cut the AppDialogBitmap from the control position, keeping only the part that is not at the bottom control, to get a new image NoButtonAppDialogBitmap (i.e., the area of ​​the first window area).

[0103] A7. Set NoButtonAppDialogBitmap as the background image of TopDialogActivity, such as... Figure 12 As shown.

[0104] A8. Cancel the display of AppDialog, making it disappear, such as Figure 13 As shown.

[0105] Since NoButtonAppDialogBitmap is based on AppDialogBitmap with the bottom control area cut off, and AppDialogBitmap is a system-style pop-up, its bottom control size, dimensions, and style are the same as SysDialog. Therefore, the user's visual effect is the same as... Figure 2 As shown, this allows you to combine custom-displayed elements and system authorization controls into a single pop-up window.

[0106] The window display method provided in this embodiment can solve the user experience problem caused by the inability of APP to customize the style of system pop-up windows in related technologies, which leads to the need for multiple pop-up windows to explain the specific content of system functions to users. By specially processing the APP's page, the function explanation information is superimposed on the appropriate position of the system pop-up window, so that the pop-up window can not only display the APP's customized information and explain to users why they need to apply for the function, but also allow users to directly open the system function switch after clicking the pop-up window button.

[0107] Figure 14 This is a structural block diagram of a window display device provided in an embodiment of the present disclosure. The device can be implemented by software and / or hardware, and can be configured in an electronic device, typically a computer, mobile phone, or tablet computer. It can request system functions for an application through a function request window by executing a window display method. Figure 14As shown, the window display device provided in this embodiment may include: a first page display module 1401 and a window display module 1402, wherein,

[0108] The first page display module 1401 is used to display the application's preset page;

[0109] The window display module 1402 is used to display a first application window for the preset system function in response to a function application instruction for the preset system function. The first application window includes a first window area and a second window area. The first window area is used to display first function application information, which is set by the application for the preset system function. The second window area is used to display operation controls for the preset system function, which are configured to trigger the application to enable or disable the preset system function.

[0110] The window display device provided in this embodiment displays a preset page of an application through a first page display module. In response to a function request instruction for a preset system function, the window display module displays a first request window for the preset system function. This first request window includes a first window area and a second window area. The first window area displays first function request information, which is set by the application for the preset system function. The second window area displays operation controls for the preset system function, configured to trigger the application to enable or disable the preset system function. This embodiment, utilizing the above technical solution, supports displaying the first function request information set by the application for the preset system function in the first window area of ​​the application window. It also supports users enabling or disabling the preset system function by triggering the operation controls displayed in the second window area of ​​the application window, without switching application windows. This enriches the display style of the function request window without increasing the complexity of enabling the preset system function, meeting the personalized display needs of application function request pop-ups.

[0111] Optionally, the window display module 1402 may be specifically used to: display the first window area in the first page area of ​​the first application transparent page, and display the second window area in the second page area of ​​the system transparent page, wherein the display level of the first application transparent page is higher than the display level of the system transparent page, and the display level of the system transparent page is higher than the display level of the preset page.

[0112] Optionally, the window display module 1402 includes: a first page display unit for displaying the system transparent page of the operating system; and a second page display unit for displaying the first application transparent page of the application in response to the display of the system transparent page, and displaying the area screen of the first window area in the first page area of ​​the first application transparent page.

[0113] Furthermore, the window display device may further include: a screen drawing module, used to draw the area screen of the first window area according to the second application window set by the application for the preset system function before the area screen of the first window area is displayed in the first page area of ​​the first application transparent page.

[0114] Optionally, the screen drawing module can be specifically used to: call a preset application programming interface to display a second application window for the preset system function on the first application transparent page, the second application window including a third window area and a fourth window area, the third window area being displayed in the first page area of ​​the first application transparent page, the third window area being used to display first function application information, and the fourth window area being used to display preset controls set by the application for the preset system function; draw the window screen of the second application window, and crop the window screen to obtain the area screen of the third window area, which is used as the area screen of the first window area.

[0115] Furthermore, the window display device may further include: a first cancellation display module, used to cancel the display of the second application window after the area screen of the first window area is displayed in the first page area of ​​the first application transparent page.

[0116] Optionally, the window display module 1402 includes: a window display unit, configured to, in response to the display of the system transparent page, display a third application window of the operating system for the preset system function on the system transparent page, and use the fifth window area of ​​the third application window as the second window area of ​​the first application window, wherein the third application window includes the fifth window area and a sixth window area, the fifth window area is used to display the operation controls of the preset system function, the sixth window area is used to display second function application information, the second function application information is set by the operating system for the preset system function, and the sixth window area is obscured by the area screen of the first window area.

[0117] Furthermore, the window display device may further include: a second cancellation display module, configured to, after the first application window for displaying the preset system function is displayed, in response to a trigger operation on a first operation control in the second window area, enable the preset system function for the application and cancel the display of the first application window; and, after the first application window for displaying the preset system function is displayed, in response to a trigger operation on a second operation control in the second window area, keep the preset system function of the application closed and cancel the display of the first application window.

[0118] Furthermore, the window display device may further include: a second page display module, configured to display a second application transparent page of the application before the first application window displaying the preset system function, wherein the display level of the second application transparent page is higher than the display level of the preset page, and the display level of the second application transparent page is lower than the display level of the system transparent page; the second cancellation display module may be configured to: invoke a single-task instance of the second application transparent page, and close the first application window through the single-task instance; and cancel the display of the second application transparent page in response to the closing of the first application window.

[0119] The window display device provided in this disclosure can execute the window display method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the window display method. Technical details not described in detail in this embodiment can be found in the window display method provided in any embodiment of this disclosure.

[0120] The following is for reference. Figure 15 This illustration shows a structural schematic of an electronic device (e.g., a terminal device) 1500 suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 15 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0121] like Figure 15As shown, electronic device 1500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1501, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1502 or a program loaded from storage device 1508 into random access memory (RAM) 1503. The RAM 1503 also stores various programs and data required for the operation of electronic device 1500. The processing device 1501, ROM 1502, and RAM 1503 are interconnected via bus 1504. Input / output (I / O) interface 1505 is also connected to bus 1504.

[0122] Typically, the following devices can be connected to I / O interface 1505: input devices 1506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 1507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1509. Communication device 1509 allows electronic device 1500 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 15 An electronic device 1500 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0123] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 1509, or installed from storage device 1508, or installed from ROM 1502. When the computer program is executed by processing device 1501, it performs the functions defined in the methods of embodiments of this disclosure.

[0124] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0125] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.

[0126] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0127] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to: display a preset page of an application; and, in response to a function request instruction for a preset system function, display a first request window for the preset system function, wherein the first request window includes a first window area and a second window area, the first window area being used to display first function request information, which is set by the application for the preset system function; and the second window area being used to display operation controls for the preset system function, the operation controls being configured to trigger the application to enable or disable the preset system function.

[0128] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including but not limited to object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0129] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0130] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of modules do not, in some cases, constitute a limitation on the unit itself.

[0131] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

[0132] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0133] According to one or more embodiments of this disclosure, Example 1 provides a window display method, including:

[0134] Display the application's default page;

[0135] In response to a function request instruction for a preset system function, a first request window for the preset system function is displayed. The first request window includes a first window area and a second window area. The first window area is used to display first function request information, which is set by the application for the preset system function. The second window area is used to display operation controls for the preset system function, which are configured to trigger the application to enable or disable the preset system function.

[0136] According to one or more embodiments of this disclosure, Example 2, based on the method described in Example 1, includes a first application window displaying the preset system functions, comprising:

[0137] The first window area is displayed in the first page area of ​​the first application transparent page, and the second window area is displayed in the second page area of ​​the system transparent page, wherein the display level of the first application transparent page is higher than the display level of the system transparent page, and the display level of the system transparent page is higher than the display level of the preset page.

[0138] According to one or more embodiments of this disclosure, Example 3 describes the method described in Example 2, wherein displaying the first window area in the first page area of ​​the first application transparent page includes:

[0139] Displays the operating system's transparent page;

[0140] In response to the display of the system transparent page, the first application transparent page of the application is displayed, and the area screen of the first window area is displayed in the first page area of ​​the first application transparent page.

[0141] According to one or more embodiments of this disclosure, Example 4, based on the method described in Example 3, further includes, before displaying the area view of the first window area in the first page area of ​​the first application transparent page:

[0142] The region of the first window area is drawn according to the second application window set by the application for the preset system function.

[0143] According to one or more embodiments of this disclosure, Example 5 describes the method described in Example 4, wherein drawing a region of the first window area based on a second application window set by the application for the preset system function includes:

[0144] The application programming interface is invoked to display a second application window for the preset system function on the first application transparent page. The second application window includes a third window area and a fourth window area. The third window area is displayed in the first page area of ​​the first application transparent page. The third window area is used to display the first function application information. The fourth window area is used to display the preset controls set by the application for the preset system function.

[0145] The window image of the second application window is drawn, and the window image is cropped to obtain the area image of the third window area, which is used as the area image of the first window area.

[0146] According to one or more embodiments of this disclosure, Example 6, based on the method described in Example 5, further includes, after displaying the area view of the first window area in the first page area of ​​the first application transparent page:

[0147] Cancel the display of the second application window.

[0148] According to one or more embodiments of this disclosure, Example 7, based on the method described in Example 3, includes displaying the second window area in the second page area of ​​the system transparent page, comprising:

[0149] In response to the display of the system transparent page, a third application window of the operating system for the preset system function is displayed on the system transparent page, and the fifth window area of ​​the third application window is used as the second window area of ​​the first application window. The third application window includes the fifth window area and a sixth window area. The fifth window area is used to display the operation controls of the preset system function, and the sixth window area is used to display the second function application information, which is set by the operating system for the preset system function. The sixth window area is obscured by the area screen of the first window area.

[0150] According to one or more embodiments of this disclosure, Example 8, based on any one of Examples 1-7, further includes at least one of the following after the first application window displaying the preset system functions:

[0151] In response to a trigger operation on the first operation control in the second window area, the preset system function is enabled for the application, and the first application window is de-displayed;

[0152] In response to a trigger operation on the second operation control in the second window area, the preset system function of the application remains closed, and the first application window is not displayed.

[0153] According to one or more embodiments of this disclosure, Example 9, based on the method described in Example 8, further includes, before the first application window displaying the preset system functions:

[0154] The application displays a second transparent page, wherein the display level of the second transparent page is higher than the display level of the preset page, and the display level of the second transparent page is lower than the display level of the system transparent page;

[0155] The process of canceling the display of the first application window includes:

[0156] Invoke a single-task instance of the second application's transparent page, and close the first application window through the single-task instance;

[0157] In response to the closing of the first application window, the display of the second application transparent page is canceled.

[0158] According to one or more embodiments of this disclosure, Example 10 provides a window display device, including:

[0159] The first page display module is used to display the application's default page;

[0160] A window display module is used to display a first application window for a preset system function in response to a function application instruction for a preset system function. The first application window includes a first window area and a second window area. The first window area is used to display first function application information, which is set by the application for the preset system function. The second window area is used to display operation controls for the preset system function, which are configured to trigger the application to enable or disable the preset system function.

[0161] According to one or more embodiments of this disclosure, Example 11 provides an electronic device, including:

[0162] One or more processors;

[0163] Memory, used to store one or more programs.

[0164] When the one or more programs are executed by the one or more processors, the one or more processors implement a window display method as described in any of Examples 1-9.

[0165] According to one or more embodiments of the present disclosure, Example 12 provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements a window display method as described in any of Examples 1-9.

[0166] According to one or more embodiments of this disclosure, Example 13 provides a computer program product that, when executed by a computer, causes the computer to implement a window display method as described in any of Examples 1-9.

[0167] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0168] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0169] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A window display method, characterized in that, include: Display the application's default page; In response to a function request instruction for a preset system function, a first request window for the preset system function is displayed. The first request window includes a first window area and a second window area. The first window area is used to display first function request information, which is set by the application for the preset system function. The second window area is used to display operation controls for the preset system function, which are configured to trigger the application to enable or disable the preset system function.

2. The method according to claim 1, characterized in that, The first application window displaying the preset system functions includes: The first window area is displayed in the first page area of ​​the first application transparent page, and the second window area is displayed in the second page area of ​​the system transparent page, wherein the display level of the first application transparent page is higher than the display level of the system transparent page, and the display level of the system transparent page is higher than the display level of the preset page.

3. The method according to claim 2, characterized in that, Displaying the first window area in the first page area of ​​the first application transparent page includes: Displays the operating system's transparent page; In response to the display of the system transparent page, the first application transparent page of the application is displayed, and the area screen of the first window area is displayed in the first page area of ​​the first application transparent page.

4. The method according to claim 3, characterized in that, Before displaying the area view of the first window area in the first page area of ​​the first application transparent page, the method further includes: The region of the first window area is drawn according to the second application window set by the application for the preset system function.

5. The method according to claim 4, characterized in that, The step of drawing the area of ​​the first window region according to the second application window set by the application for the preset system function includes: The application programming interface is invoked to display a second application window for the preset system function on the first application transparent page. The second application window includes a third window area and a fourth window area. The third window area is displayed in the first page area of ​​the first application transparent page. The third window area is used to display the first function application information. The fourth window area is used to display the preset controls set by the application for the preset system function. The window image of the second application window is drawn, and the window image is cropped to obtain the area image of the third window area, which is used as the area image of the first window area.

6. The method according to claim 5, characterized in that, After displaying the area of ​​the first window region in the first page area of ​​the first application's transparent page, the method further includes: Cancel the display of the second application window.

7. The method according to claim 3, characterized in that, Displaying the second window area in the second page area of ​​the system transparent page includes: In response to the display of the system transparent page, a third application window of the operating system for the preset system function is displayed on the system transparent page, and the fifth window area of ​​the third application window is used as the second window area of ​​the first application window. The third application window includes the fifth window area and a sixth window area. The fifth window area is used to display the operation controls of the preset system function, and the sixth window area is used to display the second function application information, which is set by the operating system for the preset system function. The sixth window area is obscured by the area screen of the first window area.

8. The method according to any one of claims 1-7, characterized in that, Following the first application window displaying the preset system functions, at least one of the following is also included: In response to a trigger operation on the first operation control in the second window area, the preset system function is enabled for the application, and the first application window is de-displayed; In response to a trigger operation on the second operation control in the second window area, the preset system function of the application remains closed, and the first application window is not displayed.

9. The method according to claim 8, characterized in that, Before the first application window displaying the preset system functions, the system further includes: The application displays a second transparent page, wherein the display level of the second transparent page is higher than the display level of the preset page, and the display level of the second transparent page is lower than the display level of the system transparent page; The process of canceling the display of the first application window includes: Invoke a single-task instance of the second application's transparent page, and close the first application window through the single-task instance; In response to the closing of the first application window, the display of the second application transparent page is canceled.

10. A window display device, characterized in that, include: The first page display module is used to display the application's default page; A window display module is used to display a first application window for a preset system function in response to a function application instruction for a preset system function. The first application window includes a first window area and a second window area. The first window area is used to display first function application information, which is set by the application for the preset system function. The second window area is used to display operation controls for the preset system function, which are configured to trigger the application to enable or disable the preset system function.

11. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the window display method according to any one of claims 1-9.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the window display method according to any one of claims 1-9.

13. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the window display method according to any one of claims 1-9.