Window display method and device, equipment and storage medium

By dynamically adjusting the window display mode according to the display area information of the terminal device and the jump parameters of the application page, the problem of single window display mode in the prior art is solved, and a richer user experience and convenient operation process is achieved.

CN119065761APending Publication Date: 2024-12-03SHENZHEN FUTU NETWORK TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410914216.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In the prior art, when financial terminal devices display virtual resource market conditions and transaction data, users often need to perform multiple window switching operations, resulting in a single window display method and poor user experience.

Method used

Determine the display mode of the window based on the display area information of the terminal device, and realize the display mode of multiple windows or single windows based on the window mode and the jump parameters of the application page, improving the diversity of window display methods and user operation convenience.

Benefits of technology

By dynamically adjusting the window display mode, we provide richer visual experience and convenient operation processes, and improve user interaction effects and display efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065761A_ABST
    Figure CN119065761A_ABST
Patent Text Reader

Abstract

The invention provides a window display method and device, equipment and a storage medium. The window display method comprises the steps that current display area information of terminal equipment starting an application program is obtained; determining a target window display mode of the application program according to the current display area information, wherein the target window display mode comprises a single-window display mode or a multi-window display mode; in response to a page jump operation for the application program, obtaining a target application page and a jump parameter of the target application page; determining a target interface display window in at least one interface display window in an application interface of the application program according to the jump parameter of the target application page and the target window display mode; and displaying the target application page through the target interface display window. The diversity of window display modes is improved, richer visual experience is provided for a user, and user operation convenience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of terminal technology, and in particular to a window display method, apparatus, device and storage medium. Background Art

[0002] The window can be used to display the application page of the application, and the user can interact with the application through the window.

[0003] At present, when users invest in virtual resources, they often view or operate market conditions, transaction data, and other data of virtual resources such as stocks based on terminal devices installed with financial applications. However, in related technologies, financial terminal devices often display the above data in a window of the interactive interface, which requires users to perform multiple window switching operations to view or operate the data in the corresponding window. Therefore, there is a single window display method and a poor user experience. Summary of the invention

[0004] The present application provides a window display method, apparatus, device and storage medium to increase the diversity of window display modes, provide users with a richer visual experience, and improve user operation convenience.

[0005] In a first aspect, the present application provides a window display method, the method comprising: obtaining current display area information of a terminal device that starts an application; determining a target window display mode of the application based on the current display area information, the target window display mode comprising: a single window display mode or a multi-window display mode; in response to a page jump operation for the application, obtaining a target application page and jump parameters of the target application page; determining a target interface display window in at least one interface display window in an application interface of the application based on the jump parameters of the target application page and the target window display mode; and displaying the target application page through the target interface display window.

[0006] In the second aspect, the present application provides a window display device, including: a first acquisition module, used to: obtain the current display area information of the terminal device that starts the application; a first determination module, used to: determine the target window display mode of the application according to the current display area information, the target window display mode includes: a single window display mode or a multi-window display mode; a second acquisition module, used to: in response to a page jump operation for the application, obtain the target application page and the jump parameters of the target application page; a second determination module, used to: determine the target interface display window in at least one interface display window in the application interface of the application according to the jump parameters of the target application page and the target window display mode; a display module, used to: display the target application page through the target interface display window.

[0007] In a third aspect, an electronic device is provided, comprising: a processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the method in the first aspect or its various implementations.

[0008] In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program enables a computer to execute the method in the first aspect or its various implementations.

[0009] In a fifth aspect, the present application provides a computer program product, comprising computer program instructions, which enable a computer to execute the method in the first aspect or its various implementations.

[0010] In a sixth aspect, the present application provides a computer program, which enables a computer to execute the method in the first aspect or its various implementations.

[0011] Through the technical solution of the present application, the display model of the window can be determined according to the display area information of the terminal device, and the application page can be displayed according to the display mode of the window and the jump parameters of the application page, thereby realizing a multi-window or single-window display mode, thereby improving the diversity of window display methods, providing users with a richer visual experience, and improving user operation convenience. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0013] Figure 1 An application scenario diagram provided for an embodiment of the present application;

[0014] Figure 2 A flowchart of a window display method provided in an embodiment of the present application;

[0015] Figure 3 A schematic diagram of a window display method provided in an embodiment of the present application;

[0016] Figure 4 A schematic diagram of another window display method provided in an embodiment of the present application;

[0017] Figure 5 A schematic diagram of another window display method provided in an embodiment of the present application;

[0018] Figure 6A schematic diagram of another window display method provided in an embodiment of the present application;

[0019] Figure 7 A schematic diagram of a window display device 700 provided in an embodiment of the present application;

[0020] Figure 8 A schematic block diagram of an electronic device 800 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0023] As mentioned above, in the related art, the terminal device often displays the data in a window of the interactive interface, which requires the user to perform multiple window switching operations to view or operate the data in the corresponding window. There are problems such as a single window display method and a poor user experience.

[0024] In order to solve the above technical problems, the invention concept of the present application is: to determine the display mode of the window according to the display area information of the terminal device, and to display the application page according to the display mode of the window and the jump parameters of the application page, to achieve a multi-window or single-window display mode, thereby improving the diversity of window display methods, providing users with a richer visual experience, and improving user operation convenience.

[0025] It should be understood that the technical solution of the present application can be applied to the following scenarios, but is not limited to:

[0026] In one embodiment, the technical solution of the present application can be used in a page display scenario, and specifically can be applied to a multi-window or single-window page display scenario.

[0027] In one embodiment, Figure 1 An application scenario diagram provided for an embodiment of the present application, such as Figure 1 As shown, the application scenario may include a terminal device 110, and an application program is installed on the terminal device 110.

[0028] Exemplarily, the terminal device 110 may be a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook computer, a vehicle-mounted device, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) or virtual reality (VR) device, etc., but is not limited thereto.

[0029] Exemplarily, terminal device 110 can obtain the current display area information of the terminal device that starts the application, that is, terminal device 11; and determine the target window display mode of the application based on the current display area information. The target window display mode includes: single window display mode or multi-window display mode. Upon receiving the user's page jump operation for the application, the jump parameters of the target application page can be obtained, and the target interface display window for displaying the target application page can be determined based on the target window display mode and the jump parameters. Finally, the target application page can be displayed through the target interface display window.

[0030] also, Figure 1 The number of terminal devices is only exemplary, and may actually include other numbers of terminal devices, which is not limited in this application.

[0031] After introducing the application scenarios of the embodiments of the present application, the technical solution of the present application will be described in detail below:

[0032] Figure 2 A flowchart of a window display method provided in an embodiment of the present application, the method can be performed as follows Figure 1 The terminal device shown in the figure performs, but is not limited to this. Figure 2 As shown, the method may include the following steps:

[0033] S210: Acquire current display area information of the terminal device that starts the application program;

[0034] S220: Determine a target window display mode of the application program according to the current display area information, where the target window display mode includes: a single window display mode or a multi-window display mode;

[0035] S230: In response to the page jump operation for the application, obtaining a target application page and a jump parameter of the target application page;

[0036] S240: determining a target interface display window in at least one interface display window in an application interface of the application program according to the jump parameter of the target application page and the target window display mode;

[0037] S250: Displaying the target application page through the target interface display window.

[0038] In one embodiment, the current display area information can represent the area of ​​the display area of ​​the display device (such as a display screen) corresponding to the terminal device that starts the application and can be used for content display, that is, it can represent whether the terminal device is a large-screen device or a small-screen device. Among them, a large-screen device refers to a device whose display area is greater than or equal to an area threshold, such as a desktop computer, a tablet computer, and a folding screen device; a small-screen device refers to a device whose display area is less than an area threshold, such as an ordinary mobile phone without a folding function.

[0039] It can be understood that if the current display area information indicates that the terminal device is a large-screen device, the terminal device can obtain the target window display mode preset by the application to display the application page based on the target window display mode. For example, if the target window display mode is a single-window display mode, a single window is displayed in the display area corresponding to the display device of the terminal device, and the application interface is displayed through the single window. If the target window display mode is a multi-window display mode, at least two windows are displayed in the display area corresponding to the display device of the terminal device, and the application interface is displayed through the at least two windows. If the current display area information indicates that the terminal device is a small-screen device, the terminal device can directly display the application interface of the application in the display area corresponding to the display device of the terminal device without obtaining the target window display mode preset by the application.

[0040] Exemplarily, the current display area information may include the area of ​​the display area of ​​the terminal device; or, the current display area information may include the relationship between the area of ​​the display area of ​​the terminal device and an area threshold; or, the current display area information may include the device type of the terminal device, and the device type may be a large-screen device or a small-screen device.

[0041] Exemplarily, an application is installed on the terminal device, and in response to the terminal device starting the application, the terminal device can display the application interface of the application in the display area corresponding to its display device, so as to display the application page of the application through the application interface. Specifically, the terminal device can obtain the current display area information of the display area corresponding to its display device, and then in response to the current display area information indicating that the terminal device is a large-screen device, further obtain the target window display mode of the application according to the current display area information, so as to display the application page of the application on the application interface of the application based on the target window display mode, or in response to the current display area information indicating that the terminal device is a small-screen device, directly display the application page of the application on the application interface of the application.

[0042] Among them, the window display mode of the application includes a single window display mode and a multi-window display mode. The single window display mode refers to the display of the application page through a single window in the application interface of the application; the multi-window display mode refers to the display of the application page through at least two windows in the application interface of the application: taking two windows as an example, the multi-window display mode can refer to the display of the application page through two windows side by side or side by side in the application interface of the application, and each window can display one application page.

[0043] For example, the current display area information may include the area of ​​the display area of ​​the terminal device. The terminal device can obtain the current display area information of the display area corresponding to its display device, and then in response to the area area indicating that the terminal device is a large-screen device, determine that the target window display mode of the application is a multi-window display mode, so as to display the application page of the application on the application interface of the application based on the multi-window display mode; in response to the area area indicating that the terminal device is a small-screen device, directly display the application page of the application on the application interface of the application.

[0044] For example, the current display area information may include the size relationship between the area of ​​the display area of ​​the terminal device and the area threshold. The terminal device can obtain the size relationship between the area of ​​the display area of ​​the terminal device and the area threshold, and determine the size relationship as the current display area information. In response to the current display area information indicating that the area of ​​the display area of ​​the terminal device is greater than the area threshold, that is, the terminal device is a large-screen device, the target window display mode of the application is determined to be a multi-window display mode, so as to display the application page of the application on the application interface of the application based on the multi-window display mode; in response to the current display area information indicating that the area of ​​the display area of ​​the terminal device is less than or equal to the area threshold, that is, the terminal device is a small-screen device, the application page of the application is directly displayed on the application interface of the application.

[0045] Furthermore, in one embodiment, the current display area information may include the display status corresponding to the display device of the terminal device and the device type of the terminal device. The terminal device may first determine the display status and device identification corresponding to the display device, and then determine whether the terminal device is a large-screen device based on the device identification. If it is a large-screen device, the target window display mode of the application is obtained based on the display status corresponding to the display device of the terminal device.

[0046] For example, in response to the device identifier indicating that the terminal device is a folding screen device or a large-screen device (such as a tablet computer), the terminal device is determined to be a large-screen device, and then the target window display mode of the application is obtained according to the display situation corresponding to the display device of the terminal device. If the display situation corresponding to the display device is a large-screen display type (such as full-screen display), the target window display mode of the application is obtained as a multi-window display mode. If the display situation corresponding to the display device is a small-screen display type (such as half-screen display, sub-screen display, etc.), the target window display mode of the application is obtained as a single-window display mode.

[0047] For another example, if the display condition of the display device is full-screen display, and the device identifier is a folding-screen device, that is, the terminal device is a folding-screen device in an unfolded state, then it can be determined that the device type of the terminal device is a large-screen device and the display type is a large-screen display type, and in response to the current display area information indicating that the terminal device is a large-screen device and a large-screen display type, the target window display mode of the application is obtained as a multi-window display mode; if the display condition of the current screen is half-screen display, and the device identifier is a folding-screen device, that is, the terminal device is a folding-screen device in a folded state, then it can be determined that the device type of the terminal device is a large-screen device and the display type is a small-screen display type, and in response to the current display area information indicating that the terminal device is a large-screen device and a small-screen display type, the target window display mode of the application is obtained as a single-window display mode; if the display condition of the current screen is full-screen display, and the device identifier is a large-screen device (such as a desktop computer or a tablet computer), then it can be determined that the device type of the terminal device is a large-screen device and a large-screen display type, and in response to the current display area information indicating that the terminal device is a large-screen device and a large-screen display type, the target window display mode of the application is obtained as a multi-window display mode.

[0048] Furthermore, the window display mode of the application can also be switched by the user through a trigger operation; specifically, in one embodiment, when the target window display mode is a multi-window display mode, the target window display mode can be switched to a single-window display mode in response to a first trigger operation for switching from the multi-window display mode to the single-window display mode; when the target window display mode is a single-window display mode, the target window display mode can be switched to a multi-window display mode in response to a second trigger operation for switching from the single-window display mode to the multi-window display mode.

[0049] In addition, when opening an application, the target window display mode can also be determined based on the application page to be displayed by the application; in one embodiment, the above-mentioned determination of the target window display mode of the application based on the current display area information can include: obtaining the current application page of the application; determining the target window display mode based on the current display area information and the page content of the current application page.

[0050] Wherein, the application page refers to the page content displayed by the application; specifically, in response to the area of ​​the current display area information being less than a preset value and the page content of the current application page being any content, the target window display mode is determined to be a single-window display mode; or, in response to the area of ​​the current display area information being greater than or equal to a preset value and the page content of the current application page being not a specific content, the target window display mode is determined to be a multi-window display mode; or, in response to the area of ​​the current display area information being greater than or equal to a preset value and the page content of the current application page being a specific content, the target window display mode is determined to be a single-window display mode. Wherein, the specific content is any of the following: content containing images with an image size greater than a preset size, content containing texts greater than a preset amount.

[0051] Furthermore, in one embodiment, the specific content may also refer to a preset page component. For example, if the application is a financial information application, the corresponding stock chart page may include a page component for displaying a stock chart, and the page component may be preset as the specific content.

[0052] It can be understood that for the current application page containing specific content, for example, a stock chart page or an information details page, since the page contains a larger image or more text content, the application interface in the single-window display mode only displays one window. The single window has a larger display space and can display more content, while the multi-window display mode displays multiple windows in the application interface with the same display space. The display space and display content of each window are smaller than the display space of the above-mentioned single window. When the application uses the single-window display mode to display the application page including specific content in one window in the application interface, the completeness of the display of the specific content can be improved, and the display effect and interactive experience of the specific content can be optimized. Therefore, the single-window display mode can be used for display.

[0053] In addition, if the current display area information includes the current device type, the above-mentioned response to the area area in the current display area information being less than a preset value can be understood as a response to the current device type being a small-screen device; the above-mentioned response to the area area in the current display area information being greater than or equal to the preset value can be understood as a response to the current device type being a large-screen device. The target window display mode preset by the application can be further obtained to display the application page based on the target window display mode. For example, if the target window display mode is a single-window display mode, a single window is displayed in the display area corresponding to the display device of the terminal device, and the application interface is displayed through the single window. If the target window display mode is a multi-window display mode, at least two windows are displayed in the display area corresponding to the display device of the terminal device, and the application interface is displayed through the at least two windows.

[0054] In the above process, the current device type of the terminal device can be quickly determined based on the current display area information, and the window display mode can be flexibly and automatically determined based on the current device type and the page content of the current application page, thereby improving the intelligence of the window display and providing users with better interactive effects and experience.

[0055] In one embodiment, the target application page may refer to the page that needs to be jumped to corresponding to the page jump operation. The jump parameter of the target application page may be used to indicate a target interface display window in at least one interface display window for displaying the target application page, or may be used to indicate the display position of the target application page, for example, the jump parameter may be a window identifier of the interface display window.

[0056] Exemplarily, the terminal device can obtain the user's page jump operation for the application, and send the request information of the target application page for the page jump operation to the electronic device. The electronic device can return the page information data of the target application page to the terminal device based on the request information. After the terminal device receives the page information data of the target application page, it determines the jump parameters of the target application page according to the page information data of the target application page, so as to determine the target interface display window according to the jump parameters, and then renders and displays the target application page based on the page information data of the target application page through the target interface display window in the application interface corresponding to the application.

[0057] In one embodiment, obtaining the jump parameters of the target application page includes: obtaining a preset display rule, the preset display rule is used to indicate the page level of the application page displayed in different interface display windows; and determining the jump parameters according to the page level of the target application page and the preset display rule.

[0058] Specifically, the terminal device can first determine the page level of the target application page from the page data information of the target application page, and obtain the preset display rules in the application program in the terminal device, where the preset display rules are used to indicate the page level of the application page displayed in different interface display windows; then, the terminal device can determine the jump parameters of the target application page based on the page level of the target application page and the preset display rules.

[0059] For example, assuming that the application interface of an application includes two interface display windows, the two interface display windows can be displayed vertically or horizontally in parallel in the application. Taking the horizontal display as an example, the preset display rule can be: the page level of the application page displayed by the left interface display window is the first level, and the page level of the application page displayed by the right interface display window is the second level. Among them, the display time of the application page with the first level in the application is earlier than the display time of the application page with the second level in the application. The application page with the second level can be a page obtained by jumping based on the application page with the first level. For example, the application page with the first level can be an information list page, and the application page with the second level can be an information detail page obtained by jumping to a certain information topic in the information list page.

[0060] Assuming that the page level of the target application page is a secondary level, the terminal device can determine that the jump parameter indicates that the target interface display window for displaying the target application page in the above two interface display windows is the right interface display window. For example, the jump parameter can be: the right interface display window. Alternatively, the terminal device can determine that the jump parameter indicates that the display position of the target application page is on the right. For example, the jump parameter can be: the right. After determining the jump parameter, according to the jump parameter of the target application page, the right interface display window is determined as the target interface display window in the two interface display windows in the application interface of the application.

[0061] Exemplarily, the terminal device displays the preset display rule based on the application interface of the application, and the user can view or modify the preset display rule based on the application interface of the application. If the terminal device determines that the user has not modified the preset display rule, the terminal device can determine the jump parameter based on the preset display rule; if the terminal device determines that the user has modified the preset display rule, the jump parameter can be determined based on the modified preset display rule. This allows the user to clarify and modify the preset display rule so that the display position of the application page meets the user's needs.

[0062] In the above embodiment, the interface display window for displaying the application page can be determined by presetting display rules and page levels, which helps users understand, adapt to and predict the display and navigation structure of the application page and improves user interaction effects.

[0063] In one embodiment, the target interface display window is determined in at least one interface display window in the application interface of the application program according to the jump parameter of the target application page and the target window display mode, including: if the target window display mode is a single window display mode, one interface display window in the application interface is determined as the target interface display window; if the target window display mode is a multi-window display mode, the interface display window indicated by the jump parameter in the multiple interface display windows in the application interface is determined as the target interface display window. Afterwards, the terminal device can display the target application page based on the target interface display window.

[0064] Exemplarily, in combination with the above embodiment, the jump parameter is: the interface display window on the right. In the single-window display mode, the application interface of the application includes one interface display window, that is, the interface display window on the right is the interface display window on the left. The terminal device can directly determine the one interface display window as the target interface display window; in the multi-window display mode, if the application interface of the application includes two interface display windows arranged side by side on the left and right, the terminal device can determine the right interface display window of the two interface display windows as the target interface display window.

[0065] Furthermore, different interface display windows correspond to a window identifier, and the preset display rules may include associations between different window identifiers and page levels of different application pages. The terminal device may first determine the page level of the target application page from the page data information of the target application page, and obtain the preset display rules in the application program in the terminal device, and then determine the target window identifier associated with the page level of the target application page based on the associations between different window identifiers and page levels of different application pages in the preset display rules. The target window identifier is determined as the jump parameter of the target application page; subsequently, the terminal device determines the target interface display window from multiple interface display windows based on the jump parameter.

[0066] For example, assuming that the application interface of the application includes two interface display windows, the two interface display windows can be displayed vertically or horizontally in the application, one interface display window can be identified by identifier 1, and the other interface display window can be identified by identifier 0; taking the horizontal and vertical display as an example, the preset display rule can be: the page level of the application page displayed by the left interface display window is the first level, such as identifier 1 identifies the left interface display window, identifier 1 is associated with the first level, and the page level of the application page displayed by the right interface display window is the second level, such as identifier 0 identifies the right interface display window, identifier 0 is associated with the second level. Assuming that the page level of the target application page is the second level, the terminal device can determine that the jump parameter indicates that the target interface display window for displaying the target application page in the above two interface display windows is the right interface display window, for example, the jump parameter can be: identifier 0; after determining the jump parameter, according to the jump parameter of the target application page, in the two interface display windows in the application interface of the application, the interface display window identified as identifier 0 is determined as the target interface display window.

[0067] Furthermore, the display position area where different interface display windows are located corresponds to a location identifier, and the preset display rules may include associations between different location identifiers and page hierarchies of different application pages. The terminal device may first determine the page hierarchy of the target application page from the page data information of the target application page, and obtain the preset display rules in the application program in the terminal device, and then determine the target location identifier associated with the page hierarchy of the target application page based on the associations between different location identifiers and page hierarchies of different application pages in the preset display rules, and the target location identifier is determined as the jump parameter of the target application page; subsequently, the terminal device determines the target interface display window from multiple interface display windows based on the jump parameter.

[0068] For example, assuming that the application interface of an application includes two interface display windows, the two interface display windows can be displayed side by side up and down or side by side left and right in the application, the display position area 1 can be identified by identifier 1, and the display position area 2 can be identified by identifier 0; taking the top and bottom parallel display as an example, the preset display rule can be: the page level of the application page displayed by the interface display window with the display position in the upper area is the first-level level, if identifier 1 corresponds to the display position in the upper area, identifier 1 is associated with the first-level level, and the page level of the application page displayed by the interface display window with the display position in the lower area is the second-level level, if identifier 0 corresponds to the display position in the lower area, identifier 0 is associated with the second-level level. Assuming that the page level of the target application page is a secondary level, the terminal device can determine that the jump parameter indicates that among the above two interface display windows, the target interface display window for displaying the target application page is the interface display window with a display position in the lower area. For example, the jump parameter can be: the interface display window in the lower area, that is, labeled 0; after determining the jump parameter, according to the jump parameter of the target application page, among the two interface display windows in the application interface of the application program, determine that the interface display window with the display position area corresponding to the area labeled 0 is the target interface display window.

[0069] Furthermore, in one embodiment, different window display modes have different ways of determining the jump parameters of the target application page. Specifically, when the target window display mode is a multi-window display mode, a preset display rule corresponding to the multi-window display mode may be obtained, and the jump parameters of the target application page may be determined based on the preset display rule. The preset display rule may be an instruction to determine the jump parameters of the target application page according to the page level of the target application page; when the target window display mode is a single-window display mode, the jump parameters of the target application page may be determined based on a preset interface display window in the single-window display mode. The preset interface display window refers to an interface display window currently used for displaying the application page in multiple interface display windows in the single-window display mode.

[0070] When the target window display mode is a multi-window display mode, continuing to combine the interface display windows in the above application interface with the left and right parallel display as an example, the preset display rule can be: the page level of the application page displayed by the left interface display window is the first level, and the page level of the application page displayed by the right interface display window is the second level; assuming that the page level of the target application page is the second level, the terminal device can determine the jump parameter to indicate that the target interface display window used to display the target application page in the above two interface display windows is the right interface display window, for example, the jump parameter can be: the window identifier of the right interface display window. When the target window display mode is a single window display mode, the window identifier of the interface display window currently used to display the application page in the application interface can be directly determined as the jump parameter.

[0071] Specifically, the terminal device can implement the above embodiment through a container, and this application introduces this in the following embodiment:

[0072] In one embodiment, the terminal device may first determine a parent container, the parent container including multiple child containers, the parent container being used to manage multiple child containers, and the child containers being used to load an application page corresponding to an interface display window in an application interface of the application program; then, the terminal device may load the parent container, determine a target child container from multiple child containers according to jump parameters of the target application page through the parent container, and determine an interface display window corresponding to the target child container in at least one interface display window as a target interface display window; thereafter, the terminal device may load a target application page through the target child container to display the target application page in the target interface display window.

[0073] It can be understood that a container is an object that can contain other objects. For example, a parent container can be a container that contains child containers, which can manage child containers; a child container can be a layout control that contains views or components related to displaying an application page, and the display of the application page can be achieved by loading the child container.

[0074] Furthermore, the display levels of multiple sub-containers may be the same or different, and the application interface of the application may be displayed through the interface display window corresponding to the sub-container with a larger display level; for example, taking two interface display windows as an example, in the multi-window display mode, the display levels of the sub-containers corresponding to the two interface display windows may be the same, and the application interface of the application may be displayed through the interface display windows corresponding to the two sub-containers with the same display level; in the single-window display mode, the display levels of multiple sub-containers may be different, and the application interface of the application may be displayed through the interface display window corresponding to a sub-container with a higher display level. It is understandable that in the single-window display mode, the interface display window corresponding to a sub-container with a higher display level may automatically adjust the window size to adapt to the size of the application interface of the application; taking the case where the application interface of the application fills the display device of the terminal device as an example, in the single-window display mode, the interface display window corresponding to a sub-container with a higher display level may automatically adjust the window size to adapt to the size of the display device of the terminal device.

[0075] In the above process, the child container can be associated with the interface display window in the application interface one by one, and the child container can load the target application page that needs to be displayed in the corresponding associated interface display window. In addition, multiple child containers can control the corresponding interface display window to be at different positions of the parent container (or, application interface). When the target child container is determined according to the jump parameter by the parent container, if the jump parameter is used to indicate the target interface display window for displaying the target application page in at least one interface display window, the child container corresponding to the interface display window indicated by the jump parameter in multiple child containers can be determined as the target child container through the parent container; if the jump parameter is used to indicate the display position of the target application page, the child container corresponding to the display position indicated by the jump parameter can be determined as the target child container through the parent container.

[0076] For example, in combination with the above embodiment, assuming that the application interface of the application includes two interface display windows displayed side by side on the left and right, and the parent container includes two child containers displayed side by side on the left and right, if the jump parameter is the interface display window on the right, the parent container can determine that the child container corresponding to the interface display window on the right is the right child container, and determine that the right child container of the above two child containers is the target child container; if the jump parameter is right, the parent container can determine that the right child container of the above two child containers is the target child container.

[0077] The above process will be introduced below with the help of a schematic diagram. First, the terms involved in the schematic diagram will be introduced:

[0078] Activity is an application component that can represent a single screen in an application and provide an application interface for users to interact with the application. Activity can contain fragments, views, and components.

[0079] Fragment, or fragment, can provide dynamic and flexible page display effects. For example, the information list page can be displayed through the fragment on the left, and the information detail page can be displayed through the fragment on the right. The container can be used as the host of the fragment, and the fragment can be added to the container. Specifically, the layout file of the fragment (the file defines the UI (User Interface) component of the fragment) can be added to the container, and the UI component of the fragment can be displayed through the container to realize the display of the corresponding application page.

[0080] In one embodiment, the layout of the multi-window display mode is as follows: Figure 3As shown in (a), the terminal device can determine an Activity to provide the application interface of the application, and determine a parent container Dual ContentFragment, which can include and manage two child containers SubContentFragment. The display levels of the two child containers can be the same. The two interface display windows associated with the two child containers are arranged side by side on the left and right in the application interface. The fragment of the application page can be loaded through each child container, so that the interface display window corresponding to each child container displays the UI component of the fragment of the corresponding application page, thereby realizing a column display effect.

[0081] Similarly, the layout of the single window display mode is as follows Figure 3 As shown in (b), in the single-window display mode, the parent container can also include and manage two child containers. The display levels of the two child containers can be different. According to the display hierarchy relationship of the two child containers, only the interface display window corresponding to the child container with a higher display hierarchy is displayed. It can be understood that one of the child containers can cover the other child container, that is, a single-column display effect is achieved.

[0082] It should be noted that the above-mentioned number of sub-containers and interface display windows, and the positional relationship between sub-containers or interface display windows are only exemplary. In actual applications, there may be other numbers or positional relationships, which will not be elaborated in this application.

[0083] In one embodiment, in combination with the above embodiment, for the single-window display mode, in response to a page jump operation for an application, the parent container can determine that the target child container is the child container corresponding to the application page before the jump (that is, the child container corresponding to the preset interface display window), and the Fragment of the target application page (that is, the new Fragment) is directly overlaid on the existing Fragment in the child container corresponding to the application page before the jump (that is, the child container corresponding to the preset interface display window), thereby completing the display of the target application page.

[0084] In one embodiment, in combination with the above embodiments, for a multi-window display mode, such as Figure 4As shown, in response to a page jump operation for an application, if the jump parameter indicates that the target application page is displayed in the interface display window on the left, the target child container can be determined through the parent container to be the child container on the left (i.e., the child container corresponding to the interface display window on the left), and the Fragment of the target application page (i.e., the new Fragment) is directly overlaid on the existing Fragment in the left child container to complete the display of the target application page; if the jump parameter indicates that the target application page is displayed in the right interface display window, the target child container can be determined through the parent container to be the child container on the right (i.e., the child container corresponding to the interface display window on the right), and the Fragment of the target application page (i.e., the new Fragment) is directly overlaid on the existing Fragment in the right child container to complete the display of the target application page.

[0085] In one embodiment, the display effect of the multi-window display mode can be as follows: Figure 5 As shown in (a) in the multi-window display mode, the application interface may include two interface display windows, wherein the interface display window on the left may display: Figure 5 In the stock list page on the left in (a), in response to a jump operation for stock 1 in the stock list page, the interface display window on the right may display: Figure 5 The details page of stock 1 on the right side of (a).

[0086] The display effect of single window display mode can be as follows Figure 5 As shown in (b) in the single-window display mode, the application interface includes only one interface display window, which can display: Figure 5 In the stock list page on the left side of (a), in response to the jump operation for stock 1 in the stock list page, the interface display window can display: Figure 5 The details page of stock 1 on the right side of (a).

[0087] In the above embodiment, not only can the target application page be displayed in a specific interface display window by managing the child container through the parent container, thereby realizing efficient single-window or multi-window layout management; it is also possible to realize single-window or multi-window application page display effects at the Fragment level based on the single-interface multi-Fragment framework, thereby reducing development costs.

[0088] In one embodiment, in a multi-window display mode, in response to a page jump operation for an application, the terminal device can determine multiple target application pages and respective jump parameters of the multiple target application pages, wherein the multiple target application pages can be multiple application pages that need to be jumped to in response to the jump operation, for example, the application page before the jump can be an information list page, and the multiple application pages to be jumped to, i.e., the multiple target application pages, can be: an information details page of information 1 in the information list page, and an information details page of information 2 in the information list page.

[0089] Among them, the jump parameters of the target application page can not only indicate the target interface display window that displays the target application page, but also include the loading order and loading time of the target sub-container corresponding to the target interface display window, and the preset animation display mode of the target interface display window. Afterwards, the terminal device can determine the target sub-containers and target interface display windows corresponding to the multiple target application pages according to the above embodiment, and load the multiple target sub-containers according to the loading order and loading time in the jump parameters of the multiple target application pages, and display the interface display window according to the multiple preset animation display modes.

[0090] Specifically, the terminal device can obtain the network connection status of the terminal device and the priority order of multiple target sub-containers, and determine the loading order and loading time of each of the multiple target sub-containers according to the network connection status and the multiple priority orders. For example, the network connection status can be represented by signal strength. If the signal strength is greater than the signal strength threshold, it can be determined that the loading order and loading time of the multiple target sub-containers are the same. If the signal strength is less than or equal to the signal strength threshold, it can be determined that the loading order of the multiple target sub-containers is consistent with the priority order of the multiple target sub-containers, and the loading time of the target sub-container with the highest priority is a time that is later than the preset waiting time when the multiple target sub-containers are determined, and the loading time of other target sub-containers except the target sub-container with the highest priority is later than the loading time of the target sub-container with the highest priority in order of priority. In this way, when the network connection status is good, that is, the signal strength is high, the target sub-containers can be loaded at the same time to provide a better visual experience; when the network connection status is poor, that is, the signal strength is low, stable data transmission is provided by the preset waiting time, and the sub-containers with higher priorities are loaded first, so as to maximize the page display effect.

[0091] The priority of the target sub-container may be determined according to the priority of the target application page corresponding to the target sub-container, so as to preferentially display the target application page with a higher priority.

[0092] Exemplarily, the preset animation display mode may include: a sliding display mode based on a preset sliding direction, a display mode that gradually expands from small to large, and a display mode that gradually decreases in transparency, but is not limited to the above, so as to provide users with a richer visual experience.

[0093] In addition, taking into account the user's usage habits of different application pages and the page content of the application pages, the historical trigger records of the user for the target application page and the page content of the application page recorded in the terminal device can be combined to trigger the automatic switching of the window display mode; specifically, in one embodiment, if the target window display mode is a multi-window display mode, after determining the target interface display window in at least one interface display window in the application interface of the application program according to the jump parameters of the target application page and the target window display mode, it can also include: obtaining the total number of triggers of the target application page recorded by the terminal device within a preset period, the total display time of the target application page, the number of displays of the target application page in the terminal device in a single-window display mode, and the display time; according to the target window display mode, The first page parameter of the target application page is calculated based on the total number of triggering times of the target application page, the total display time of the target application page, the target number of displays of the target application page in the single-window display mode on the terminal device, and the target display time; at the same time, the page content of the target application page is obtained, and the second page parameter of the target application page is obtained according to the page content of the target application page; the target page parameter of the target application page is determined according to the first page parameter and the second page parameter; the step of displaying the target application page through the target interface display window may include: if the target application page parameter is greater than a preset parameter threshold, switching from the multi-window display mode to the single-window display mode, so that the application interface of the application program only displays the target interface display window, and displaying the target application page through the target interface display window.

[0094] Among them, the total number of triggering times of the target application page refers to the number of times the application page of the application in the terminal device is the target application page within a preset period; the total display time of the target application page refers to the length of time that the application in the terminal device stays on the target application page; the target number of displays of the target application page on the terminal device in a single-window display mode refers to the number of times the application in the terminal device only displays the interface display window corresponding to a single sub-container and the application page displayed in the interface display window is the target application page; the target display time of the target application page on the terminal device in a single-window display mode refers to the length of time that the application in the terminal device only displays the interface display window corresponding to a single sub-container and the application page displayed in the interface display window is the target application page.

[0095] The first page parameter is used to indicate the probability value of the target application page being displayed through the interface display window corresponding to a single sub-container in the single-window display mode; after determining the total number of triggering times of the target application page, the total display duration of the target application page, the target number of displays of the target application page in the single-window display mode of the terminal device, and the target display duration, the corresponding first page parameter can be calculated by the following formula (1):

[0096]

[0097] Among them, tri_mum represents the total number of triggering times of the target application page, single_num represents the target number of display times of the target application page in the single-window display mode of the terminal device, tri_dur represents the total display time of the target application page, single_dur represents the target display time of the target application page in the single-window display mode of the terminal device; α1 and β1 represent preset parameter factors, which can be set according to actual conditions; per represents the duration of the preset period.

[0098] Among them, the second page parameter is used to indicate the probability value of the target application page being displayed through the interface display window corresponding to a single sub-container in the single-window display mode; for example, if the page content of the target application page is not specific content, the second page parameter can be determined to be 0, if the page content of the target application page is specific content, the second page parameter is determined to be 1.

[0099] After determining the first page parameter and the second page parameter, the first page parameter and the second page parameter may be weighted and summed to determine the target page parameter of the target application page, that is, to determine the probability value of the target application page being ultimately displayed through the interface display window corresponding to the single subcontainer in the single window display mode. Specifically, the target page parameter may be calculated using the following formula (2):

[0100] P=α2P1+β2P2 Formula (2)

[0101] Among them, P represents the target page parameter, P1 represents the first page parameter, P2 represents the second page parameter, α2 and β2 represent the weight value of the first page parameter and the weight value of the second page parameter respectively, which can be set according to actual conditions.

[0102] Finally, if the target application page parameter is greater than the preset parameter threshold, the application interface of the control application is switched from multi-window display mode to single-window display mode, and the target interface display window is the only interface window displayed in the single-window display mode, and the target application page is displayed through the target interface display window.

[0103] By using the historical trigger records of the target application page recorded in the terminal device, such as the total number of triggers of the target application page, the total display time of the target application page, the number of displays of the target application page in the terminal device in single-window display mode and the display time, as well as the page content of the target application page, as reference factors for the probability value of the target application page being displayed through the interface display window corresponding to a single subcontainer in the single-window display mode, when the number of times the user has historically used the target application page in the single-window display mode is high or the page content of the target application page is more suitable for display in the single-window display mode, the switching of the window display mode is simultaneously triggered during the jump process of the target application page, so that the multi-window display mode is automatically switched to the single-window display mode to display the target application page, so that the window display mode is more in line with the page content of the target application page and the user's usage habits, thereby reducing the number of operations when the user uses the application, optimizing the display effect and interactive experience of the target application page, and improving the display efficiency and usage efficiency of the application.

[0104] This application will introduce the window display mode switching in the multi-window display mode in the following embodiments:

[0105] In one embodiment, if the target window display mode is a multi-window display mode, the terminal device can adjust the display levels of multiple sub-containers in response to the first trigger operation of switching the multi-window display mode to the single-window display mode, wherein different sub-containers have different display levels; then, a single sub-container can be determined from the multiple sub-containers based on the display levels of each sub-container and the application pages loaded by each sub-container, so as to display the application page only through the interface display window corresponding to the single sub-container in the application interface of the application.

[0106] Among them, the first trigger operation includes but is not limited to a trigger operation on a page control in an application page, a voice trigger operation, a trigger operation on a physical button, etc.; exemplarily, in a multi-window display mode, the display levels of the multiple sub-containers may be the same. In response to the first trigger operation, the terminal device may adjust the display levels of the multiple sub-containers according to the page levels of the application pages corresponding to the multiple sub-containers. Specifically, the page levels of the application pages corresponding to the multiple sub-containers may be determined in sequence as the display levels of the multiple sub-containers. For example, assuming that the parent container includes two sub-containers: a left sub-container and a right sub-container, and the page levels of the application pages corresponding to the two sub-containers are respectively level 1 and level 2, then the display levels of the two sub-containers may be adjusted to be respectively: the display level of the left sub-container is level 1, and the display level of the right sub-container is level 2; or, the page levels of the corresponding multiple application pages may be determined in reverse order as the display levels of the multiple sub-containers. For example, in combination with the above example, the display levels of the two sub-containers may be adjusted to be respectively: the display level of the left sub-container is level 2, and the display level of the right sub-container is level 1.

[0107] Exemplarily, the terminal device may determine the sub-container with the highest display level as a single sub-container, but is not limited thereto. Figure 6 As shown, in response to the first trigger operation, if the terminal device determines that the display level of the right sub-container is the highest and determines the right sub-container as a single sub-container, the single sub-container can be overlaid on the other sub-containers, i.e., the left sub-container, so that the application page is displayed only through the interface display window corresponding to the single sub-container in the application interface of the application program, thereby realizing the single-window display mode. It can be understood that the interface display window corresponding to the single sub-container is the preset interface display window in the above-mentioned single-window display mode.

[0108] Afterwards, the terminal device can adjust the display levels of multiple sub-containers to the same display level in response to the second trigger operation of switching from the single-window display mode to the multi-window display mode, so as to display the application pages side by side through the interface display windows corresponding to the multiple sub-containers in the application interface of the application.

[0109] The second trigger operation includes but is not limited to a trigger operation on a page control in an application page, a voice trigger operation, a trigger operation on a physical button, etc.; for example, Figure 6 As shown, in response to the second trigger operation, the terminal device can adjust the display levels of the two sub-containers to be the same, so as to display the two sub-containers side by side, and the multi-window display mode can be restored.

[0110] In addition, the terminal device may display a switch button, and determine the user's trigger operation on the switch button as the first trigger operation or the second trigger operation.

[0111] In the above embodiment, the window display mode can be switched according to the user's trigger operation to adapt to different reading or browsing needs. This flexible switching strategy can provide users with a better and more convenient visual experience and operation, ensuring that the most suitable content display method can be provided regardless of the screen size of the device.

[0112] It should be noted that in the multi-window display mode, the application page displayed in each window of the multiple interface display windows can be the same or different. In addition, each interface display window can exist in the form of split screen, floating window, tab page, etc., and this application does not limit this.

[0113] It should be noted that all the above technical solutions can be combined in any way to form optional embodiments of the present application, which will not be described one by one here.

[0114] It should be noted that in the specific implementation of this application, related data such as current display area information, jump parameters, application pages, preset display rules, page levels, etc. are involved. When the embodiments of this application are applied to specific products or technologies, user permission, consent or authorization is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0115] Figure 7 A schematic diagram of a window display device 700 provided in an embodiment of the present application.

[0116] like Figure 7 As shown, the window display device 700 includes: a first acquisition module 701, a first determination module 702, a second acquisition module 703, a second determination module 704, a display module 705, a first adjustment module 706, a third determination module 707, and a second adjustment module 708, wherein:

[0117] In one embodiment, a first acquisition module 701 is used to obtain current display area information of a terminal device that launches an application; a first determination module 702 is used to determine a target window display mode of the application based on the current display area information, the target window display mode including a single window display mode or a multi-window display mode; a second acquisition module 703 is used to obtain a target application page and jump parameters of the target application page in response to a page jump operation for the application; a second determination module 704 is used to determine a target interface display window in at least one interface display window in the application interface of the application based on the jump parameters of the target application page and the target window display mode; a display module 705 is used to display the target application page through a target interface display window.

[0118] In one embodiment, the first determination module 702 is specifically used to: obtain the current application page of the application program; and determine the target window display mode according to the current display area information and the page content of the current application page.

[0119] In one embodiment, the first determination module 702 is specifically used to: determine that the target window display mode is a single-window display mode in response to the area of ​​the area in the current display area information being less than a preset value and the page content of the current application page being any content; or, determine that the target window display mode is a multi-window display mode in response to the area of ​​the area in the current display area information being greater than or equal to a preset value and the page content of the current application page being not specific content; or, determine that the target window display mode is a single-window display mode in response to the area of ​​the area in the current display area information being greater than or equal to a preset value and the page content of the current application page being specific content; wherein the specific content is any of the following content: content containing images whose image size is greater than a preset size, content containing texts whose number is greater than a preset number.

[0120] In one embodiment, the second determination module 704 is specifically used to: determine a parent container, the parent container includes multiple child containers, the parent container is used to manage multiple child containers, and the child container is used to load an application page corresponding to the interface display window in the application interface of the application program; load the parent container, and determine the target child container from the multiple child containers according to the jump parameters of the target application page through the parent container; determine the interface display window corresponding to the target child container in at least one interface display window as the target interface display window, and the display module 705 is specifically used to: load the target application page through the target child container to display the target application page in the target interface display window.

[0121] In one embodiment, if the target window display mode is a multi-window display mode, the first adjustment module 706 is used to: in response to the first trigger operation of switching the multi-window display mode to the single-window display mode, adjust the display levels of multiple sub-containers, wherein different sub-containers have different display levels; the third determination module 707 is used to determine a single sub-container from the multiple sub-containers according to the display levels of each sub-container and the application pages loaded by each sub-container, so as to display the application page only through the interface display window corresponding to the single sub-container in the application interface of the application program.

[0122] In one embodiment, the second adjustment module 708 is used to: in response to a second trigger operation of switching from a single-window display mode to a multi-window display mode, adjust the display levels of multiple sub-containers to the same display level, so as to display application pages side by side in the application interface of the application through interface display windows corresponding to the multiple sub-containers.

[0123] In one embodiment, the second acquisition module 703 is specifically used to: acquire preset display rules, which are used to indicate the page level of application pages displayed in different interface display windows; and determine jump parameters according to the page level of the target application page and the preset display rules.

[0124] It should be understood that the device embodiment and the method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. To avoid repetition, they will not be described here. Specifically, Figure 7 The device 700 shown can execute the above method embodiments, and the above and other operations and / or functions of each module in the device 700 are respectively for implementing the corresponding processes in the above methods, which will not be repeated here for the sake of brevity.

[0125] The above describes the device 700 of the embodiment of the present application from the perspective of the functional module in conjunction with the accompanying drawings. It should be understood that the functional module can be implemented in hardware form, can be implemented by instructions in software form, and can also be implemented by a combination of hardware and software modules. Specifically, the steps of the method embodiment in the embodiment of the present application can be completed by the hardware integrated logic circuit and / or software form instructions in the processor, and the steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or a combination of hardware and software modules in the decoding processor to perform. Optionally, the software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps in the above method embodiment in conjunction with its hardware.

[0126] Figure 8 A schematic block diagram of an electronic device 800 provided in an embodiment of the present application.

[0127] like Figure 8 As shown, the electronic device 800 may include:

[0128] The memory 810 and the processor 820, the memory 810 is used to store the computer program and transmit the program code to the processor 820. In other words, the processor 820 can call and run the computer program from the memory 810 to implement the method in the embodiment of the present application.

[0129] For example, the processor 820 may be configured to execute the above method embodiments according to instructions in the computer program.

[0130] In some embodiments of the present application, the processor 820 may include but is not limited to:

[0131] General-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.

[0132] In some embodiments of the present application, the memory 810 includes but is not limited to:

[0133] Volatile memory and / or non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM) or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SL DRAM) and direct memory bus random access memory (DR RAM).

[0134] In some embodiments of the present application, the computer program may be divided into one or more modules, which are stored in the memory 810 and executed by the processor 820 to complete the method provided by the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.

[0135] like Figure 8 As shown, the electronic device may also include:

[0136] The transceiver 830 may be connected to the processor 820 or the memory 810 .

[0137] The processor 820 may control the transceiver 830 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices. The transceiver 830 may include a transmitter and a receiver. The transceiver 830 may further include an antenna, and the number of antennas may be one or more.

[0138] It should be understood that the various components in the electronic device are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.

[0139] The present application also provides a computer storage medium on which a computer program is stored, and when the computer program is executed by a computer, the computer can perform the method of the above method embodiment. In other words, the present application embodiment also provides a computer program product containing instructions, and when the instructions are executed by a computer, the computer can perform the method of the above method embodiment.

[0140] When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instruction is loaded and executed on a computer, the computer can be made to perform the corresponding flow in each method in the embodiment of the present application in whole or in part, and generate the functions that can be realized by each method in the embodiment of the present application. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instruction can be transmitted from a website site, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrations. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0141] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0142] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the module is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0143] The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, 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 scheme of this embodiment. For example, each functional module in each embodiment of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0144] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A window display method, characterized in that: include: Get the current display area information of the terminal device that starts the application; Determine a target window display mode of the application according to the current display area information, wherein the target window display mode includes: a single window display mode or a multi-window display mode; In response to a page jump operation for the application, obtaining a target application page and a jump parameter of the target application page; Determining a target interface display window in at least one interface display window in the application interface of the application program according to the jump parameter of the target application page and the target window display mode; The target application page is displayed through the target interface display window.

2. The method according to claim 1, characterized in that The determining the target window display mode of the application according to the current display area information includes: Get the current application page of the application; The target window display mode is determined according to the current display area information and the page content of the current application page.

3. The method according to claim 2, characterized in that The determining the target window display mode according to the current display area information and the page content of the current application page includes: In response to the area of ​​the current display area information being smaller than a preset value and the page content of the current application page being any content, determining that the target window display mode is a single window display mode; or, In response to the area of ​​the current display area information being greater than or equal to a preset value and the page content of the current application page not being specific content, determining that the target window display mode is a multi-window display mode; or, In response to the area of ​​the current display area information being greater than or equal to a preset value and the page content of the current application page being specific content, determining that the target window display mode is a single window display mode; The specific content is any one of the following: content including an image whose size is larger than a preset size, or content including a text quantity larger than a preset quantity.

4. The method according to any one of claims 1 to 3, characterized in that: The step of determining the target interface display window in at least one interface display window in the application interface of the application program according to the jump parameter of the target application page and the target window display mode comprises: Determine a parent container, the parent container including a plurality of child containers, the parent container is used to manage the plurality of child containers, and the child container is used to load an application page corresponding to an interface display window in an application interface of the application program; Loading the parent container, and determining a target child container from the multiple child containers according to the jump parameter of the target application page through the parent container; Determine, among the at least one interface display window, the interface display window corresponding to the target sub-container as the target interface display window; The displaying of the target application page through the target interface display window includes: The target application page is loaded through the target sub-container to display the target application page in the target interface display window.

5. The method according to claim 4, characterized in that If the target window display mode is a multi-window display mode, the method further includes: In response to a first trigger operation of switching the multi-window display mode to the single-window display mode, adjusting the display levels of the multiple sub-containers, wherein different sub-containers have different display levels; According to the display levels of the sub-containers and the application pages loaded by the sub-containers, a single sub-container is determined from the multiple sub-containers, so as to display the application page in the application interface of the application only through the interface display window corresponding to the single sub-container.

6. The method according to claim 5, characterized in that The method further comprises: In response to a second trigger operation of switching from the single-window display mode to the multi-window display mode, the display levels of the multiple sub-containers are adjusted to the same display level, so that application pages are displayed side by side in the application interface of the application through the interface display windows corresponding to the multiple sub-containers.

7. The method according to any one of claims 1 to 3, characterized in that: Obtain the jump parameters of the target application page, including: Obtaining a preset display rule, wherein the preset display rule is used to indicate a page hierarchy of application pages displayed in different interface display windows; The jump parameter is determined according to the page level of the target application page and the preset display rule.

8. A window display device, characterized in that: include: The first acquisition module is used to: acquire the current display area information of the terminal device that starts the application; A first determination module is used to determine a target window display mode of the application program according to the current display area information, where the target window display mode includes a single window display mode or a multi-window display mode; A second acquisition module is used to: in response to a page jump operation for an application program, acquire a target application page and a jump parameter of the target application page; A second determination module is used to: determine a target interface display window in at least one interface display window in an application interface of the application program according to a jump parameter of the target application page and a target window display mode; The display module is used to display the target application page through the target interface display window.

9. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 7 by executing the executable instructions.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Application multi-window display method and apparatus, electronic device, and storage medium

    WO2026219145A1