Page display method and device, storage medium and electronic equipment
By opening the second window in the terminal display interface to display the second application without completely covering the first window, the problem of immersion interruption of the user when temporarily calling the second application is solved, and the user experience is optimized.
Patent Information
- Application Number
- CN202311022258.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-14
- Publication Date
- 2025-02-21
AI Technical Summary
When the user clicks on the external application interface of different applications on the terminal, he jumps directly to the external application page, causing the user's immersive feeling of the original application page to be interrupted.
By using the first window to display the first application in the display interface of the terminal, and when the user triggers the application interface, the second window is opened in the display interface to display the second application, ensuring that the second window does not completely cover the first window.
This avoids the immersion interruption caused by direct jump when the user temporarily calls the second application, and optimizes the user's user experience.
Smart Images

Figure CN119493616A_ABST
Abstract
Description
Technical Field
[0001] The technical solution disclosed herein relates to the field of terminal technology, and in particular to a page display method and device, a storage medium, and an electronic device. Background Art
[0002] There will be different external application interfaces on the pages of different applications installed on the terminal, such as the QQ or WeChat login authorization interface on the game application page, the WeChat or Alipay payment interface on the shopping application page, etc.
[0003] When users click on these external application interfaces, they will jump directly to the external application page. However, users click on these external application interfaces for temporary calls, and directly jumping to the external application page will interrupt the user's immersive experience on the original application page. Summary of the invention
[0004] In view of this, embodiments of the present disclosure provide a page display method and device, a storage medium, and an electronic device.
[0005] According to a first aspect of the present disclosure, a page display method is proposed, the method comprising:
[0006] In a display interface of the terminal, displaying a first application through a first window;
[0007] In response to detecting a trigger of an application interface in the first window, a second window in the display interface displays a second application; the application interface is a jump interface of the second application, and the second window does not completely cover the first window.
[0008] In combination with any embodiment provided by the present disclosure,
[0009] The terminal adopts a full-screen mode, the display interface of the terminal includes a full-screen display interface, and the first window and the second window are both located in the full-screen display interface;
[0010] Alternatively, the terminal adopts a split-screen mode, and the display interface of the terminal includes a first display interface and a second display interface after the split screen, the first window is located in the first display interface, and the second window is located in the second display interface.
[0011] In combination with any implementation manner provided in the present disclosure, in response to detecting a trigger of an application interface in the first window, displaying a second application in a second window in the display interface includes:
[0012] In response to receiving an instruction to start the second application, acquiring startup parameters corresponding to the second application; the startup parameters include application identification information of the second application and / or window layout parameters of the second application;
[0013] The second application is displayed in a second window in the display interface according to the startup parameter.
[0014] In combination with any implementation manner provided in the present disclosure, in response to detecting a trigger of an application interface in the first window, displaying a second application in a second window in the display interface includes:
[0015] When a triggering of an application interface in the first application is detected, obtaining startup parameters corresponding to the second application; the startup parameters include application identification information of the second application;
[0016] If it is determined based on the application identification information that the second application is a preset target application, the second application is displayed in the second window in the display interface.
[0017] In combination with any implementation manner provided in the present disclosure, in response to detecting a trigger of an application interface in the first window, displaying a second application in a second window in the display interface includes:
[0018] When a triggering of an application interface in the first application is detected, obtaining startup parameters corresponding to the second application; the startup parameters include window layout parameters of the second application;
[0019] Modifying the window layout parameters so that when the second window is displayed according to the modified window layout parameters, the second window does not completely cover the first window;
[0020] The second application is displayed in a second window in the display interface according to the modified window layout parameters.
[0021] In combination with any implementation manner provided in the present disclosure, when the first application is displayed in full screen on the display interface of the terminal, the window layout parameter includes: a window mode parameter and / or a window size parameter; the window mode parameter includes a large window mode and a small window mode;
[0022] The modifying of the window layout parameters includes:
[0023] The window mode parameter is modified from the large window mode to the small window mode; and / or, the window size parameter is reduced.
[0024] In combination with any implementation manner provided in the present disclosure, when the display interface of the terminal includes a first display interface and a second display interface, and the first application is displayed on the first display interface, the window layout parameter includes: a window position parameter;
[0025] The modifying of the window layout parameters includes:
[0026] The window position parameter is modified from the first display interface to the second display interface.
[0027] In combination with any implementation manner provided in the present disclosure, in response to detecting a trigger of an application interface in the first window, displaying a second application in a second window in the display interface includes:
[0028] When a triggering of an application interface in the first application is detected, obtaining task stacks corresponding to the second application and the first application respectively;
[0029] If it is determined that the task stacks corresponding to the second application and the first application are the same, configuring another task stack for the second application;
[0030] According to the other task stack, the second application is displayed in a second window in the display interface.
[0031] In combination with any implementation manner provided in the present disclosure, after the second window in the display interface displays the second application, the method further includes:
[0032] In response to detecting a resizing operation to resize the second window, the second window is resized based on the resizing operation.
[0033] In combination with any embodiment provided by the present disclosure,
[0034] The first applications include: game applications, video applications, and shopping applications;
[0035] The second application includes: a payment application, a login authorization application, and a sharing application.
[0036] According to a second aspect of the present disclosure, a page display device is provided, the device comprising:
[0037] A first display module, configured to display a first application via a first window in a display interface of the terminal;
[0038] The second display module is used to display a second application in a second window in the display interface in response to detecting a trigger of the application interface in the first window; the application interface is a jump interface of the second application, and the second window does not completely cover the first window.
[0039] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, wherein the machine-readable storage medium stores machine-readable instructions, and when the machine-readable instructions are called and executed by a processor, the processor is prompted to implement the page display method of any embodiment of the present disclosure.
[0040] According to a fourth aspect of the present disclosure, there is provided an electronic device, comprising:
[0041] processor;
[0042] a memory for storing processor-executable instructions;
[0043] The processor is configured to execute the page display method of any embodiment of the present disclosure.
[0044] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0045] In the page display method and device, storage medium, and electronic device provided by the embodiments of the present disclosure, a first application can be displayed in a first window in the display interface of a terminal, and in response to detecting a trigger of an application interface in the first window, a second application can be displayed in a second window in the display interface, wherein the application interface is a jump interface of the second application, and the second window does not completely cover the first window. In the page display method provided by the embodiments of the present disclosure, the displayed second window does not completely cover the first window, which can avoid the situation where the user's immersion in the first application is interrupted by directly jumping from the first application to the second application when the user only temporarily starts the second application, thereby optimizing the user's usage experience.
[0046] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0048] Figure 1 is a visual display diagram of a page display method according to an exemplary embodiment of the present disclosure;
[0049] Figure 2 is a visual display diagram of another page display method according to an exemplary embodiment of the present disclosure;
[0050] Figure 3 is a flow chart of a page display method according to an exemplary embodiment of the present disclosure;
[0051] Figure 4 is a flow chart of another page display method according to an exemplary embodiment of the present disclosure;
[0052] Figure 5 is a flow chart of another page display method according to an exemplary embodiment of the present disclosure;
[0053] Figure 6 is a flow chart of another page display method according to an exemplary embodiment of the present disclosure;
[0054] Figure 7 is a flow chart of another page display method according to an exemplary embodiment of the present disclosure;
[0055] Figure 8a is a schematic diagram of window size adjustment according to an exemplary embodiment of the present disclosure;
[0056] Figure 8b is a schematic diagram of window size adjustment according to an exemplary embodiment of the present disclosure;
[0057] Fig. 9 is a structural schematic diagram of a page display device according to an exemplary embodiment of the present disclosure;
[0058] Fig.10 It is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0059] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0060] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0061] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0062] There will be different external application interfaces on the pages of different applications installed on the terminal, such as the QQ or WeChat login authorization interface on the game application page, the WeChat or Alipay payment interface on the shopping application page, etc.
[0063] When users click on these external application interfaces, they will jump directly to the external application page. In other words, when users click on these external application interfaces, the external application page will completely cover the current application page. Users click on these external application interfaces for temporary calls, and directly jumping to the external application page will interrupt the user's immersive experience on the original application page.
[0064] For example, when a user opens the homepage of a game and clicks on the WeChat login authorization interface, the WeChat login authorization page will completely cover the game page. The WeChat login authorization operation is only a temporary call, and after the operation is completed, it is necessary to return to the game page. Therefore, when the WeChat login authorization page directly covers the game page when performing the login authorization operation, it will interrupt the user's immersion in the game page and affect the user's experience.
[0065] In view of this, the present disclosure provides a page display method. The following is a detailed description of the page display method of the present disclosure embodiment in conjunction with the accompanying drawings.
[0066] Figure 1 This is a visual display diagram of a page display method according to an exemplary embodiment of the present disclosure. The exemplary embodiment method can be used in terminals, including but not limited to mobile phones, iPads, etc. Specifically, the exemplary embodiment method can be executed by the system of the above terminal.
[0067] For example, when the terminal is in full screen mode and the user clicks on the WeChat login authorization interface in the game application page. Figure 1 As shown in a, when the user clicks on the game application in the display interface of the terminal, the user can jump to Figure 1 b, that is, in the display interface of the terminal, the game application is displayed through the first window. Then, after detecting that the user triggers the WeChat login authorization interface in the first window, it can jump to Figure 1As shown in c, the second window in the display interface of the terminal displays the login authorization interface of the WeChat application. Figure 1 As shown in FIG. 3 , in this example, the second window is displayed on the upper layer of the first window, and the size of the second pure window is smaller than the size of the first window. In other words, the second window does not completely cover the first window. Finally, after detecting that the user triggers the consent login interface, the process can jump to FIG. Figure 1 As shown in FIG. 4 , the game application is displayed in the first window in the display interface of the terminal.
[0068] like Figure 1 As shown in c, when the terminal adopts the full-screen mode, the display interface of the terminal includes a full-screen display interface, and the first window and the second window are both located in the full-screen display interface.
[0069] For example, when the terminal is in split-screen mode and the user clicks on the WeChat login authorization interface in the game application page. Figure 2 As shown in a, when the split-screen mode is adopted, the game application is displayed through the first window, and after detecting that the user triggers the WeChat login authorization interface in the first window, it can jump to Figure 2 As shown in b, the second window in the display interface of the terminal displays the login authorization interface of the WeChat application, wherein the second window does not completely cover the first window.
[0070] like Figure 2 As shown in b, when the terminal adopts split-screen mode and the display interface of the terminal includes a first display interface and a second display interface after splitting the screen, the first window is located on the first display interface and the second window is located on the second display interface.
[0071] The above is introduced using the example of clicking on the WeChat login authorization interface in the game application page. It should be understood that this example method is applicable to the display interface of the terminal. After the first application is displayed through the first window, when the triggering of the application interface in the first window is detected, the usage scenario of the second application will be displayed in the display interface.
[0072] For example, when the terminal adopts full-screen mode, when the user clicks on the payment application or sharing application in the shopping application displayed in the first window, the payment application or sharing application can be displayed in a second window that is smaller than the first window and located above the first window. The sharing application can include, for example, WeChat application, QQ application, etc. When the terminal adopts split-screen mode, when the user clicks on the payment application or sharing application in the shopping application displayed in the first window, the payment application or sharing application can be displayed in a second window that is different from the location of the first window.
[0073] For another example, when the terminal is in full-screen mode, when the user clicks on a payment application or a sharing application in a video application displayed in a first window, the payment application or the sharing application may be displayed in a second window that is smaller than the first window and located above the first window. When the terminal is in split-screen mode, when the user clicks on a payment application or a sharing application in a video application displayed in a first window, the payment application or the sharing application may be displayed in a second window that is different from the location of the first window.
[0074] For another example, when the terminal adopts full-screen mode, the user clicks on the login authorization application in the game application displayed in the first window, and the login authorization application may include WeChat application and QQ application, WeChat application and QQ application may be displayed in a second window that is smaller than the first window and located on the upper layer of the first window. When the terminal adopts split-screen mode, when the user clicks on the login authorization application in the game application displayed in the first window, the login authorization application may be displayed in a second window that is different from the location of the first window.
[0075] In the page display method provided by the embodiment of the present disclosure, when it is detected that the user triggers the application interface in the first window, the terminal can display the second application in the second window in the display interface, and the second window does not completely cover the first window. In other words, through the method of the embodiment of the present disclosure, the second application can be opened to perform operations such as login authorization, payment, and sharing without covering the first application displayed on the current terminal interface. This can avoid the situation where the user's immersive experience of the first application is interrupted by directly jumping from the first application to the second application when the user only temporarily starts the second application, and can optimize the user's usage experience.
[0076] The following describes in detail a process of displaying the second application in the second window in the display interface of the terminal after the terminal detects the triggering of the application interface in the first window.
[0077] In one embodiment, if Figure 3 As shown, the terminal can display the second application based on the following steps.
[0078] In step 301, in response to receiving an instruction to start the second application, startup parameters corresponding to the second application are obtained.
[0079] In this embodiment, after receiving the instruction to start the second application, the terminal can obtain the startup parameters of the second application from the startup method StartActivity. The startup parameters include application identification information of the second application and / or window layout parameters of the second application. The window layout parameters may include window mode parameters and / or window size parameters. Among them, the window mode parameters may include large window mode and small window mode, and the window size parameters may include length and width parameters of the window.
[0080] In step 302, the second application is displayed in a second window in the display interface according to the startup parameters.
[0081] In the page display method provided by the embodiment of the present disclosure, when the first application is running in the foreground and the terminal receives an instruction for starting the second application, it can obtain the startup parameters corresponding to the second application, and based on the startup parameters, display the second application in the second window of the display interface of the terminal. Wherein, the second window does not completely cover the first window, thereby avoiding the situation where the user's immersive experience of the first application is interrupted by directly jumping from the first application to the second application when the user only temporarily starts the second application, and can optimize the user's use experience.
[0082] In actual applications, the method of the above embodiment does not need to be used in some scenarios. For example, when a user receives a game invitation message from a friend in the WeChat application or QQ application, he clicks on the game invitation message to enter the corresponding game application. In this case, the user usually starts the game and does not return to the WeChat application or QQ application. At this time, after detecting that the user triggers the game application interface, the game application can be displayed in full screen. For another example, when the user clicks on an external shopping link in the Weibo application and enters the corresponding shopping application. In this case, the user usually browses the corresponding item details and does not immediately return to the Weibo application. At this time, after detecting that the user triggers the external shopping link, the shopping application can be displayed in full screen.
[0083] Based on the above, in one embodiment, if Figure 4 As shown, after the terminal detects the triggering of the application interface in the first window, the process of displaying the second application in the second window in the display interface of the terminal may specifically include:
[0084] In step 401, when a triggering of an application interface in the first application is detected, startup parameters corresponding to the second application are obtained.
[0085] The startup parameters include application identification information of the second application.
[0086] In actual applications, when the terminal detects the triggering of an application interface in a first application displayed on the current terminal interface, it can determine a second application corresponding to the application interface, and then obtain startup parameters including application identification information of the second application from the startup method StartActivity.
[0087] In step 402, if it is determined based on the application identification information that the second application is a preset target application, the second window in the display interface is displayed.
[0088] When the user performs a payment operation, a login authorization operation, or a sharing operation, the application called is a temporary application. At this time, the second application can be displayed in the second window of the display interface. Therefore, the preset target application may include: a payment application, a login authorization application, and a sharing application. Among them, the payment application may be a WeChat application, an Alipay application, etc. The login authorization application and the sharing application may be a WeChat application, a QQ application, etc.
[0089] In this example, when the terminal determines that the second application belongs to the above-mentioned preset target application based on the application identification information of the second application obtained, the step of displaying the second application in the second window of the display interface of the terminal can be performed. When the terminal determines that the second application does not belong to the above-mentioned preset target application based on the application identification information of the second application obtained, the second application can be displayed in the first window of the display interface of the terminal.
[0090] In the page display method provided in this example, the terminal can obtain the startup parameters corresponding to the second application including the application identification information of the second application when detecting the triggering of the application interface in the first application, and when determining that the second application is the preset target application based on the application identification information, then execute the step of displaying the second application in the second window in the display interface. This avoids the situation where the second application is still displayed in a small window when the user does not temporarily call the second application, which can improve the user experience.
[0091] In the current page display method, after the terminal detects the triggering of the application interface in the first window, it will display the second application in full screen in the first window. In other words, the window layout parameters of the second application are the same as the window layout parameters of the first window. However, this example method wants to achieve that the size of the second window is smaller than the size of the first window, that is, this example method needs to modify the window layout parameters of the second window.
[0092] Based on the above, in one embodiment, if Figure 5As shown, after the terminal detects the triggering of the application interface in the first window, the process of displaying the second application in the second window in the display interface of the terminal may specifically include:
[0093] In step 501, when a triggering of an application interface in the first application is detected, startup parameters corresponding to the second application are obtained.
[0094] The startup parameters include window layout parameters of the second application.
[0095] Similar to the above embodiment, when the terminal detects the triggering of the application interface in the first application displayed on the current terminal interface, the second application corresponding to the application interface can be determined, and then the startup parameters including the window layout parameters of the second application can be obtained from the startup method StartActivity.
[0096] The window layout parameters may include window mode parameters and / or window size parameters. The window mode parameters may include large window mode and small window mode, and the window size parameters may include length and width parameters of the window. Based on the foregoing, in this example, the window mode parameters obtained by default are large window mode, and the length and width parameters of the window are the length and width parameters corresponding to full screen display.
[0097] In step 502, the window layout parameters are modified so that when the second window is displayed according to the modified window layout parameters, the size of the second window does not completely cover the first window.
[0098] After acquiring the window layout parameters of the second application, the terminal may modify the window layout parameters so that when the second window is displayed according to the modified window layout parameters, the second window does not completely cover the first window.
[0099] In an optional example, when the terminal adopts full screen mode and the first application is displayed in full screen on the display interface of the terminal, the window layout parameters include: window mode parameters and / or window size parameters; the window mode parameters include large window mode and small window mode. At this time, the window layout parameters can be modified in the following manner.
[0100] Mode 1: When the window layout parameters acquired by the terminal include the window mode parameters, the terminal can modify the large window mode to the small window mode. At this time, the terminal can display the second application in the second window in the display interface of the terminal based on the window size parameters corresponding to the pre-set small window mode.
[0101] It should be noted that the preset window size parameter corresponding to the small window mode is smaller than the window size parameter corresponding to the large window mode.
[0102] Method 2: When the window layout parameters acquired by the terminal include the window size parameters, the terminal can reduce the window size parameters. For example, when the length and width parameters included in the window size parameters are x and y respectively, the terminal can reduce the length and width parameters to 0.6x, 0.6y, or can also reduce them to 0.4x, 0.4y. The method for determining the reduced length and width parameters can be set by relevant staff based on actual conditions, and this disclosure does not limit this.
[0103] Mode three: when the window layout parameter acquired by the terminal includes the window mode parameter and the window size parameter, the terminal may modify the window mode parameter from the large window mode to the small window mode, and then reduce the window size parameter.
[0104] In another optional example, when the terminal adopts split-screen mode, the display interface of the terminal includes a first display interface and a second display interface, and the first application is displayed in a first window of the first display interface, the window layout parameters include: window position parameters. At this time, the window layout parameters can be modified in the following manner.
[0105] The window position parameter is modified from the first display interface to the second display interface.
[0106] like Figure 2 As shown in a, since the game interface is displayed in the first window of the first display interface, in one embodiment, when the user clicks the WeChat login authorization interface, the WeChat login authorization page will also be displayed in the first window of the first display interface, completely covering the game interface. Therefore, in this embodiment, when the terminal is in split-screen mode, the terminal can modify the window position parameter of the second application from the first display interface to the second display interface, so that the WeChat login authorization interface is displayed in the first window of the first display interface. Figure 2 b. The second window of the second display interface.
[0107] In step 503, the second application is displayed in a second window in the display interface according to the modified window layout parameters.
[0108] After the terminal modifies the acquired window layout parameters, the terminal may display the second application in the second window in the display interface of the terminal based on the modified window layout parameters.
[0109] In the page display method provided in this example, when the terminal detects the triggering of the application interface in the first application, it can obtain the startup parameters corresponding to the second application including the window layout parameters of the second application, and modify the window layout parameters so that when the second window is displayed according to the modified window layout parameters, the second window does not completely cover the first window. This ensures that when the second application is displayed on the display interface of the terminal, it does not cover the currently displayed first application, avoids affecting the user's immersive experience of the first application, and improves the user's usage experience.
[0110] When the user clicks the button to switch to the background application, multiple "cards" will appear, and one "card" corresponds to one task stack.
[0111] In actual applications, the task stack of the page of the first application and the page of the second application may be the same. For example, when the user clicks on the payment page of the Taobao application and jumps to the scene of the payment application, the task stack of the page of the payment application and the page of the Taobao application are the same. At this time, if the window layout parameters of the payment application are modified, the window layout parameters of the Taobao application will also change accordingly, that is, the pages of the two applications share one window. At this time, it is impossible to display the second application in the second window in the display interface, wherein the second window is located on the upper layer of the first window, and the size of the second window is smaller than the first window.
[0112] Based on the above, in one embodiment, if Figure 6 As shown, after the terminal detects the triggering of the application interface in the first window, the process of displaying the second application in the second window in the display interface of the terminal may specifically include:
[0113] In step 601, when a triggering of an application interface in the first application is detected, task stacks corresponding to the second application and the first application are obtained.
[0114] In actual applications, when the terminal detects the triggering of an application interface in a first application currently displayed on the terminal interface, a second application corresponding to the application interface can be determined, and then task stacks corresponding to the second application and the first application can be obtained.
[0115] In one embodiment, after determining the second application corresponding to the above application interface, the terminal may determine the startup flag of the second application based on the startup parameters of the second application, and then obtain the task stack corresponding to the second application based on the startup flag.
[0116] In step 602, if it is determined that the task stacks corresponding to the second application and the first application are the same, another task stack is configured for the second application.
[0117] When the terminal determines that the task stacks corresponding to the second application and the first application are the same, another task stack may be configured for the second application. In a specific implementation, the terminal may configure a new startup flag in the startup parameters of the second application.
[0118] In step 603, the second application is displayed in a second window in the display interface according to the other task stack.
[0119] After configuring the new startup flag in the startup parameters of the second application, the terminal can display the second application in the second window of the display interface of the terminal according to the new task stack indicated by the new startup flag.
[0120] In the page display method provided in this example, the terminal can determine whether the task stacks of the second application and the first application are the same when the application interface in the first application is triggered. If they are the same, another task stack is configured for the second application. This avoids the situation where the second application and the first application share a window, and when the window layout parameters of the second window are modified, the window layout parameters of the first window are changed accordingly. It is ensured that when the second application is displayed on the display interface of the terminal, the currently displayed first application is not overwritten.
[0121] Figure 7 1 is a flow chart of a page display method according to an exemplary embodiment of the present disclosure. In this embodiment, the same steps as those in the previous embodiment will be briefly described without further details. For details, please refer to any of the previous embodiments. Figure 7 As shown, the exemplary embodiment method may include the following steps:
[0122] In step 701, a first application is displayed in a first window in a display interface of a terminal.
[0123] In step 702, in response to detecting a trigger of an application interface in the first window, a startup parameter of a second application corresponding to the application interface is obtained.
[0124] The startup parameters include application identification information of the second application.
[0125] In step 703, it is determined whether the second application is a preset target application based on the application identification information in the startup parameters.
[0126] If it is determined that the second application is not the preset target application, step 704 is executed.
[0127] If it is determined that the second application is the preset target application, step 705 is executed.
[0128] In step 704, the second application is displayed in the first window.
[0129] In step 705, the window layout parameters of the second application included in the startup parameters are modified.
[0130] The window layout parameters include window mode parameters and / or window size parameters, or window position parameters, and the window mode parameters include large window mode and small window mode.
[0131] In step 706, it is determined whether the task stacks corresponding to the second application and the first application are the same.
[0132] If it is determined that the task stacks corresponding to the second application and the first application are the same, step 707 is executed.
[0133] If it is determined that the task stacks corresponding to the second application and the first application are different, step 708 is executed.
[0134] In step 707, another task stack is configured for the second application, and the second application is displayed in a second window in the display interface according to the another task stack.
[0135] In step 708, the second application is displayed in a second window in the display interface according to the task stack corresponding to the second application.
[0136] In step 709, in response to detecting a resizing operation for resizing the second window, the size of the second window is adjusted based on the resizing operation.
[0137] like Figure 8a As shown, when it is detected that the user selects the second window and moves toward Figure 8a When a sliding track is followed by sliding in the direction indicated by the middle arrow, the terminal can increase the size of the second window based on the sliding track.
[0138] like Figure 8b As shown, when it is detected that the user selects the second window and moves toward Figure 8b When a sliding track is followed by sliding in the direction indicated by the middle arrow, the terminal can reduce the size of the second window based on the sliding track.
[0139] In an optional example, the terminal may further adjust the position of the second window displayed in the terminal interface based on a user's position adjustment operation on the display position of the second window.
[0140] In the page display method provided in this example, the terminal can flexibly adjust the size of the second window based on the user's size adjustment operation on the second window, thereby meeting the requirements of different users for the size of the second window and improving the user experience.
[0141] For the aforementioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present disclosure is not limited by the described order of actions, because according to the present disclosure, certain steps can be performed in other orders or simultaneously.
[0142] Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present disclosure.
[0143] Corresponding to the aforementioned application function implementation method embodiment, the present disclosure also provides an application function implementation device and a corresponding terminal embodiment.
[0144] Fig. 9 is a schematic diagram of a page display device according to an exemplary embodiment of the present disclosure. Fig. 9 As shown, the page display device may include:
[0145] The first display module 91 is used to display a first application through a first window in the display interface of the terminal.
[0146] The second display module 92 is used to display a second application in a second window in the display interface in response to detecting a trigger of an application interface in the first window; the application interface is a jump interface of the second application, the second window is located in an upper layer of the first window, and the size of the second window is smaller than the first window.
[0147] Optionally, the terminal adopts a full-screen mode, the display interface of the terminal includes a full-screen display interface, and the first window and the second window are both located in the full-screen display interface.
[0148] Alternatively, the terminal adopts a split-screen mode, and the display interface of the terminal includes a first display interface and a second display interface after the split screen, the first window is located in the first display interface, and the second window is located in the second display interface.
[0149] Optionally, the second display module 92, when used to display the second application in the second window in the display interface in response to detecting a trigger of the application interface in the first window, includes:
[0150] In response to receiving an instruction to start the second application, startup parameters corresponding to the second application are acquired; the startup parameters include application identification information of the second application and / or window layout parameters of the second application.
[0151] The second application is displayed in a second window in the display interface according to the startup parameter.
[0152] Optionally, the second display module 92, when used to display the second application in the second window in the display interface in response to detecting a trigger of the application interface in the first window, includes:
[0153] When a triggering of an application interface in the first application is detected, startup parameters corresponding to the second application are obtained; the startup parameters include application identification information of the second application.
[0154] If it is determined based on the application identification information that the second application is a preset target application, the second application is displayed in the second window in the display interface.
[0155] Optionally, the second display module 92, when used to display the second application in the second window in the display interface in response to detecting a trigger of the application interface in the first window, includes:
[0156] When a triggering of an application interface in the first application is detected, startup parameters corresponding to the second application are obtained; the startup parameters include window layout parameters of the second application.
[0157] The window layout parameters are modified so that when the second window is displayed according to the modified window layout parameters, the second window does not completely cover the first window.
[0158] The second application is displayed in a second window in the display interface according to the modified window layout parameters.
[0159] Optionally, when the first application is displayed in full screen on the display interface of the terminal, the window layout parameters include: window mode parameters and / or window size parameters.
[0160] The window mode parameters include a large window mode and a small window mode.
[0161] The second display module 92, when used to modify the window layout parameters, includes:
[0162] The window mode parameter is modified from the large window mode to the small window mode; and / or, the window size parameter is reduced.
[0163] Optionally, when the display interface of the terminal includes a first display interface and a second display interface, and the first application is displayed on the first display interface, the window layout parameter includes: a window position parameter;
[0164] The second display module 92, when used to modify the window layout parameters, includes:
[0165] The window position parameter is modified from the first display interface to the second display interface.
[0166] Optionally, the second display module 92, when used to display the second application in the second window in the display interface in response to detecting a trigger of the application interface in the first window, includes:
[0167] When a triggering of an application interface in the first application is detected, task stacks corresponding to the second application and the first application are obtained respectively.
[0168] If it is determined that the task stacks corresponding to the second application and the first application are the same, another task stack is configured for the second application.
[0169] According to the other task stack, the second application is displayed in a second window in the display interface.
[0170] Optional, in Fig. 9 Based on the modules shown, the page display device further includes:
[0171] The size adjustment module is configured to, in response to detecting a size adjustment operation for adjusting the size of the second window, adjust the size of the second window based on the size adjustment operation.
[0172] Optional,
[0173] The first applications include: game applications, video applications, and shopping applications.
[0174] The second application includes: a payment application, a login authorization application, and a sharing application.
[0175] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are only schematic, wherein the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution. A person of ordinary skill in the art may understand and implement it without creative work.
[0176] Fig.10 1 is a schematic diagram of the structure of an electronic device 1000 according to an exemplary embodiment. For example, the electronic device 1000 may be a user device, and may specifically be a mobile phone, a computer, a digital broadcast terminal, a tablet device, a personal digital assistant, a wearable device such as a smart watch, a smart bracelet, etc.
[0177] Reference Fig.10 , the electronic device 1000 may include one or more of the following components: a processing component 1002 , a memory 1004 , a power component 1006 , a multimedia component 1008 , an audio component 1010 , an input / output (I / O) interface 1012 , a sensor component 1014 , and a communication component 1016 .
[0178] The processing component 1002 generally controls the overall operation of the electronic device 1000, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1002 may include one or more processors 1020 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 1002 may include one or more modules to facilitate the interaction between the processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate the interaction between the multimedia component 1008 and the processing component 1002.
[0179] The memory 1004 is configured to store various types of data to support operations on the device 1000. Examples of such data include instructions for any application or method operating on the electronic device 1000, contact data, phone book data, messages, pictures, videos, etc. The memory 1004 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0180] The power supply component 1006 provides power to various components of the electronic device 1000. The power supply component 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 1000.
[0181] The multimedia component 1008 includes a screen that provides an output interface between the electronic device 1000 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front camera and / or a rear camera. When the electronic device 1000 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0182] The audio component 1010 is configured to output and / or input audio signals. For example, the audio component 1010 includes a microphone (MIC), and when the electronic device 1000 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1004 or sent via the communication component 1016. In some embodiments, the audio component 1010 also includes a speaker for outputting audio signals.
[0183] I / O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0184] The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the electronic device 1000. For example, the sensor assembly 1014 can detect the open / closed state of the electronic device 1000, the relative positioning of the components, such as the display and keypad of the electronic device 1000, and the sensor assembly 1014 can also detect the position change of the electronic device 1000 or a component of the electronic device 1000, the presence or absence of contact between the user and the electronic device 1000, the orientation or acceleration / deceleration of the electronic device 1000, and the temperature change of the electronic device 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0185] The communication component 1016 is configured to facilitate wired or wireless communication between the electronic device 1000 and other devices. The electronic device 1000 can access a wireless network based on a communication standard, such as WiFi, 4G or 5G, 4G LTE, 5G NR or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0186] In an exemplary embodiment, the electronic device 1000 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0187] In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as a memory 1004 including instructions. When the instructions in the storage medium are executed by the processor 1020 of the electronic device 1000, the electronic device 1000 is enabled to perform a page display method, the method comprising:
[0188] In the display interface of the terminal, a first application is displayed through a first window.
[0189] In response to detecting a trigger of an application interface in the first window, a second window in the display interface displays a second application; the application interface is a jump interface of the second application, and the second window does not completely cover the first window.
[0190] The non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0191] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0192] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A page display method, characterized in that: The method comprises: In a display interface of the terminal, displaying a first application through a first window; In response to detecting a trigger of an application interface in the first window, a second window in the display interface displays a second application; the application interface is a jump interface of the second application, and the second window does not completely cover the first window.
2. The method according to claim 1, characterized in that: The terminal adopts a full-screen mode, the display interface of the terminal includes a full-screen display interface, and the first window and the second window are both located in the full-screen display interface; Alternatively, the terminal adopts a split-screen mode, and the display interface of the terminal includes a first display interface and a second display interface after the split screen, the first window is located in the first display interface, and the second window is located in the second display interface.
3. The method according to claim 1, characterized in that In response to detecting a trigger of the application interface in the first window, displaying the second application in the second window in the display interface includes: In response to receiving an instruction to start the second application, acquiring startup parameters corresponding to the second application; the startup parameters include application identification information of the second application and / or window layout parameters of the second application; The second application is displayed in a second window in the display interface according to the startup parameter.
4. The method according to claim 1, characterized in that: In response to detecting a trigger of the application interface in the first window, displaying the second application in the second window in the display interface includes: When a triggering of an application interface in the first application is detected, obtaining startup parameters corresponding to the second application; the startup parameters include application identification information of the second application; If it is determined based on the application identification information that the second application is a preset target application, the second application is displayed in the second window in the display interface.
5. The method according to claim 1, characterized in that: In response to detecting a trigger of the application interface in the first window, displaying the second application in the second window in the display interface includes: When a triggering of an application interface in the first application is detected, obtaining startup parameters corresponding to the second application; the startup parameters include window layout parameters of the second application; Modifying the window layout parameters so that when the second window is displayed according to the modified window layout parameters, the second window does not completely cover the first window; The second application is displayed in a second window in the display interface according to the modified window layout parameters.
6. The method according to claim 5, characterized in that When the first application is displayed in full screen on the display interface of the terminal, the window layout parameters include: window mode parameters and / or window size parameters; the window mode parameters include large window mode and small window mode; The modifying of the window layout parameters includes: The window mode parameter is modified from the large window mode to the small window mode; and / or, the window size parameter is reduced.
7. The method according to claim 5, characterized in that When the display interface of the terminal includes a first display interface and a second display interface, and the first application is displayed on the first display interface, the window layout parameter includes: a window position parameter; The modifying of the window layout parameters includes: The window position parameter is modified from the first display interface to the second display interface.
8. The method according to claim 1, characterized in that In response to detecting a trigger of the application interface in the first window, displaying the second application in the second window in the display interface includes: When a triggering of an application interface in the first application is detected, obtaining task stacks corresponding to the second application and the first application respectively; If it is determined that the task stacks corresponding to the second application and the first application are the same, configuring another task stack for the second application; According to the other task stack, the second application is displayed in a second window in the display interface.
9. The method according to claim 1, characterized in that: After the second window in the display interface displays the second application, the method further includes: In response to detecting a resizing operation to resize the second window, the second window is resized based on the resizing operation.
10. The method according to any one of claims 1 to 9, characterized in that: The first applications include: game applications, video applications, and shopping applications; The second application includes: a payment application, a login authorization application, and a sharing application.
11. A page display device, characterized in that: The device comprises: A first display module, configured to display a first application via a first window in a display interface of the terminal; The second display module is used to display a second application in a second window in the display interface in response to detecting a trigger of the application interface in the first window; the application interface is a jump interface of the second application, and the second window does not completely cover the first window.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of any method described in claims 1-10 are implemented.
13. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the steps of any one of the methods of claims 1-10.