Page display method, system, computer device and medium

By blocking the link and expanding the drawer page to display content, the problems of inefficient web page jump performance and poor sub-application jumping are solved, and the rendering efficiency and user experience are improved.

CN117235405BActive Publication Date: 2024-11-08BEIJING BAILONG MAYUN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311489988.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-09
Publication Date
2024-11-08
Estimated Expiration
2043-11-09

AI Technical Summary

Technical Problem

The existing web page jumping method leads to inefficient performance, poor user interaction, and problems such as data loss and poor jump between sub-applications.

Method used

By intercepting links with different jump methods, determine whether to expand the drawer page, and display the content of the target link on the drawer page, it realizes smooth jumping and switching between sub-applications and secondary sub-applications, and improves rendering efficiency and user interaction experience.

Benefits of technology

It improves the rendering efficiency when web pages are redirected, improves user interaction experience, avoids data loss, and achieves smooth jump between sub-applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117235405B_ABST
    Figure CN117235405B_ABST
Patent Text Reader

Abstract

The present application relates to a method, system, computer device and medium for page display. The method includes: displaying a target page; the target page is a web page pre-configured with a drawer page; the target page includes an application bar, and the application bar includes the logos of multiple sub-applications; running an interception program for intercepting web page links; obtaining the web page link intercepted by the interception program as the target link; judging whether to expand the drawer page according to the target link; if so, expanding the drawer page on the upper layer of the target page, and displaying the page content corresponding to the target link in the drawer page. Through the steps of the above method, smooth jump switching between the content pages of each sub-application and sub-sub-application is achieved, the rendering and presentation efficiency of the page during the jump is improved, and the user's interactive use experience during the page jump is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of web page jump interception, and in particular to a method, system, computer device and medium for page display. Background Art

[0002] There are currently three ways to redirect to a web page. One is to replace the entire current web page through the location.href command request. Another is to use the SPA (Single Page Application) method to add the current URL (Uniform Resource Locator) and the value of the current session state history.state to the history route, and replace the current URL with the new state parameter and URL, avoiding the problem of the web page content not being refreshed when the web page is refreshed. Another way is to open a new web page through the A tag target="_blank" attribute or the window.open method.

[0003] However, the inventors realized that the above-mentioned web page jump methods all have the following problems: first, since the web page needs to be reloaded each time it jumps, the waiting time from the white screen to the completion of the web page rendering is too long, which can easily lead to inefficient performance and jamming of the web page jump. Then, due to the unsmooth interactive link of the user operation fault, the user needs to view and operate on multiple web pages. In addition, these web page jump methods have the risk of loss of screening data. If the current web page is replaced and then returned, the information of the previous web page will be lost, and the user will need to fill in this information again. Finally, from the perspective of the micro-front end, it is impossible to jump smoothly between the sub-application web pages. If a jump is required, the current web page needs to be destroyed and another new web page needs to be created. Summary of the invention

[0004] In response to the above-mentioned deficiencies or shortcomings, the present application provides a method, system, computer device and medium for page display. The embodiment of the present application first intercepts links with different jump methods, then expands the drawer page corresponding to the link that meets the business needs, and displays the content of the link on the drawer page. Through the steps of the above method, smooth jump switching between the content pages of each sub-application and sub-sub-application is achieved, the rendering efficiency of the page during the jump is improved, and the user's interactive experience during the page jump is improved.

[0005] According to a first aspect, the present application provides a method for page display, which can be applied to a web page operation system of a cloud platform, including:

[0006] Displaying a target page; the target page is a web page pre-configured with a drawer page; the target page includes an application bar, and the application bar includes logos of multiple sub-applications;

[0007] Run a blocking program to intercept web links;

[0008] Obtain the web page link intercepted by the interception program as the target link;

[0009] Determine whether to expand the drawer page based on the target link;

[0010] If so, expand the drawer page on the upper layer of the target page, and display the page content corresponding to the target link in the drawer page.

[0011] In some embodiments, the interception program is used to intercept A tag jumps, intercept window.open methods and / or intercept browser routing.

[0012] In some embodiments, determining whether to expand the drawer page according to the target link includes:

[0013] Obtaining a mapping relationship output by each sub-application, wherein the mapping relationship output by each sub-application includes a web page link of each sub-sub-application of the sub-application and its corresponding page identifier;

[0014] Traverse the web page links in the mapping relationship output by each sub-application, and compare the traversed web page links with the target links;

[0015] If the traversed web page link is consistent with the target link, obtain the page identifier corresponding to the traversed web page link;

[0016] Determine whether to expand the drawer page based on the obtained page identifier.

[0017] In some embodiments, the drawer page includes a header area and a content area;

[0018] Expand the drawer page on the upper layer of the target page, and display the page content corresponding to the target link in the drawer page, including:

[0019] Start the drawer component, expand the drawer page through the drawer component and cover the upper layer of the target page, the area of ​​the drawer page is smaller than the area of ​​the web page homepage;

[0020] The page content of the sub-application corresponding to the target link is displayed in the content area of ​​the drawer page, and the tab information corresponding to the target link is displayed in the header area of ​​the drawer page; the page content of the sub-application includes the sub-application homepage or the default sub-sub-application content of the sub-application.

[0021] In some embodiments, after displaying the page content of the sub-application corresponding to the target link in the content area of ​​the drawer page and displaying the tab information corresponding to the target link in the header area of ​​the drawer page, the method further includes:

[0022] When the user closes the tab corresponding to the content of the sub-application corresponding to the target link, the page content of the sub-application corresponding to the target link and the corresponding document object model and event are destroyed together.

[0023] In some embodiments, after displaying the page content of the sub-application corresponding to the target link in the content area of ​​the drawer page and displaying the tab information corresponding to the target link in the header area of ​​the drawer page, the method further includes:

[0024] When a user clicks on a specific link in the page content of a sub-application corresponding to a target link, a new tab is added to the header area of ​​the drawer page, the new tab is highlighted, and the page content corresponding to the specific link is displayed in the content area of ​​the drawer page; a specific link refers to a web link of any sub-application of the sub-application corresponding to the target link.

[0025] In some embodiments, before expanding the drawer page on the upper layer of the target page, the method further includes:

[0026] Register each sub-application and one or more sub-sub-applications of each sub-application;

[0027] Match the corresponding path for each sub-application;

[0028] The sub-application identifier of each sub-application is loaded and displayed on the application bar according to the path corresponding to each sub-application, and the sub-sub-application bar corresponding to the currently displayed sub-application is loaded and displayed on the application bar; each sub-sub-application bar includes one or more sub-sub-application identifiers of the corresponding sub-application.

[0029] According to another aspect, the present application provides a system for displaying a page, the system comprising:

[0030] The page display module is used to display the target page; the target page is a web page pre-configured with a drawer page; the target page includes an application bar, and the application bar includes the logos of multiple sub-applications;

[0031] An automatic interception module, used to run an interception program for intercepting web page links;

[0032] The link identification module is used to obtain the web page link intercepted by the interception program as the target link; and determine whether to expand the drawer page according to the target link;

[0033] The drawer display module is used to expand the drawer page on the upper layer of the target page when the drawer page needs to be expanded, and to display the page content corresponding to the target link in the drawer page.

[0034] According to another aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any one of the above-mentioned methods for page display are implemented.

[0035] According to another aspect, the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the above-mentioned page display methods when executing the computer program.

[0036] In the above-mentioned embodiment of the present application, when the user logs in to the official website of the cloud platform, the cloud platform first displays the target page to the user, and the target page is a web page pre-configured with a drawer page. Among them, the target page also includes an application bar, which includes the logos of multiple sub-applications, and the drawer page is in a minimized state when it is not expanded. Then the cloud platform runs an interception program for intercepting web links. When the user clicks a new web link on the target page, the cloud platform obtains the web link intercepted by the interception program as the target link, and then determines whether to expand the drawer page according to the target link. If the target link meets the business needs, the cloud platform expands the drawer page on the upper layer of the target page, and displays the page content corresponding to the target link in the drawer page. The embodiment of the present application first intercepts links with different jump modes, and then expands the drawer page corresponding to the link that meets the business needs, and displays the content of the link on the drawer page. Through the steps of the above method, it is realized that the content pages of each sub-application and sub-sub-application can be smoothly jumped and switched, the rendering efficiency of the page during the jump is improved, and the interactive use experience of the user during the page jump is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A flow chart of a method for displaying a page in one or more embodiments of the present application;

[0038] Figure 2 A flow chart of a method for determining whether a drawer page needs to be expanded in one or more embodiments of the present application;

[0039] Figure 3 A schematic diagram of an interception network architecture in one or more embodiments of the present application;

[0040] Figure 4 A flow chart of a method for expanding and displaying page content in a drawer page in one or more embodiments of the present application;

[0041] Figure 5 This is a demonstration example of presenting the content of the sub-application homepage in a drawer page;

[0042] Figure 6 This is a demonstration example of overlaying the content of the sub-application homepage in the drawer page;

[0043] Figure 7 This is a demonstration example of a user clicking on another sub-application outside the drawer page;

[0044] Figure 8 This is a demonstration example of deleting the corresponding tab of a sub-application in the drawer page;

[0045] Fig. 9 This is a demonstration example of presenting the content of a sub-app in a drawer page.

[0046] Fig.10 A demonstration example of deleting the entire drawer page;

[0047] Fig.11 This is a demonstration example of presenting another sub-application in the bottom page;

[0048] Fig.12 This is a demonstration example of presenting another sub-application in the bottom page;

[0049] Fig.13 A flowchart of a method for executing a mount function exported by each sub-application in one or more embodiments of the present application;

[0050] Fig.14 A schematic diagram of a system structure displayed on a page in one or more embodiments of the present application;

[0051] Fig.15 A schematic diagram of the structure of a computer device in one or more embodiments of the present application. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0053] According to a first aspect, the present application provides a method for displaying a page, such as Figure 1 As shown, the method can be applied to a webpage operation system of a cloud platform, wherein the cloud platform can be a SaaS (Software as a Service) platform, including:

[0054] S110: Displaying a target page; the target page is a web page pre-configured with a drawer page; the target page includes an application bar, and the application bar includes logos of multiple sub-applications;

[0055] Specifically, when a user logs in to the cloud platform official website, the cloud platform first displays the target page to the user. Among them, the drawer page is a page used to present web link content, or sub-application, sub-sub-application content, and the drawer page is in a minimized state when it is not expanded. The application bar can be an application option menu directory on the left side of the target page, which includes multiple sub-application logos, and each sub-application logo corresponds to one or more sub-sub-applications.

[0056] For example, Figure 5 The example of a demonstration of presenting the content of a sub-application homepage in a drawer page is shown, and the homepage is the target page mentioned above. The application bar on the left end of the homepage contains the logos of sub-applications 1-3. At this time, the sub-sub-applications corresponding to sub-application 1 are displayed on the sub-sub-reference bar.

[0057] S120: running an interception program for intercepting web page links;

[0058] In some embodiments, the interception program is used to intercept A tag jumps, intercept window.open methods and / or intercept browser routing.

[0059] Specifically, when a user clicks a web link on the target page, if the cloud platform detects that the web page jump method belongs to the A tag jump, the above interception program is run to intercept the A tag jump. Then the click event is detected by global monitoring. If the element of the event bubbling is detected to be an A tag and has a _blank attribute, the ev.preventDefault() tool is called for interception processing.

[0060] If the cloud platform detects that the web page jump method is to open a new browser, it will run the interception program with the window.open() method, specifically by rewriting the window.open() function to intercept the path.

[0061] If the cloud platform detects that the web page jump method is a jump method that changes the browser route, it runs an interception program to monitor the web page path changes and intercept the changes in the history route.

[0062] S130: Obtain the webpage link intercepted by the interception program as the target link; determine whether to expand the drawer page according to the target link;

[0063] Specifically, the intercepted web page link may be a new web page link, a web page link of a sub-application or a sub-sub-application.

[0064] In some embodiments, Figure 2 As shown, judging whether to expand the drawer page according to the target link includes:

[0065] S210: Acquire a mapping relationship output by each sub-application, where the mapping relationship output by each sub-application includes a web page link of each sub-sub-application of the sub-application and its corresponding page identifier;

[0066] Specifically, the above sub-application outputs a URL (Uniform Resource Locator) list, each URL list includes one or more sub-sub-application URLs of the corresponding sub-application, and the URL can be used as a web page link of the sub-sub-application. Among them, each sub-sub-application URL corresponds to a specific page ID (web page identifier), and one or more sub-sub-application URLs in each URL list and the corresponding one or more page IDs constitute a mapping relationship output by the corresponding sub-application.

[0067] S220: traversing the web page links in the mapping relationship output by each sub-application, and comparing the traversed web page links with the target links;

[0068] Specifically, the cloud platform performs a loop traversal on the URL list output by each sub-application, captures all sub-application URLs in each URL list, and compares all captured sub-application URLs with the target link.

[0069] S230: If the traversed webpage link is consistent with the target link, a page identifier corresponding to the traversed webpage link is obtained;

[0070] Specifically, if the traversed web link is consistent with the target link, it indicates that the sub-sub-application URL is the web link of the sub-sub-application that the user needs to open, and the cloud platform obtains the page ID corresponding to the sub-sub-application link.

[0071] S240: Determine whether to expand the drawer page according to the obtained page identifier.

[0072] Finally, the cloud platform determines whether the page ID corresponding to the web link of the secondary sub-application is a page ID that meets the business needs. If it meets the business needs, the drawer page is expanded.

[0073] For example, Figure 3The interception network architecture diagram shown in the figure shows that after determining that a certain sub-sub-application URL is a web link of a sub-sub-application that the user needs to open, the cloud platform determines in the logic layer of the interception network architecture whether the corresponding page ID meets the business needs. For example, if a user opens the billing tool (a sub-sub-application under the workbench) in the workbench (a sub-application), the cloud platform determines in the logic layer of the interception network architecture whether the page ID corresponding to the billing tool needs to expand the drawer. The general judgment criteria are the content richness and complexity of the page ID of the sub-application. If it is known that the page ID of the billing tool belongs to a page with complex content that meets business needs, the cloud platform needs to expand the drawer page for the billing tool. If it is known that the billing tool does not belong to the page ID that needs to expand the drawer page for business, the cloud platform will not expand the drawer page for the billing tool. Through the steps of the above method, the cloud platform can expand the drawer page for web links that meet business needs and meet the content richness standards, avoiding unnecessary drawer page content rendering tasks in the rendering layer, and improving the rendering processing efficiency of web links.

[0074] S140: If yes, expand a drawer page on the upper layer of the target page, and display the page content corresponding to the target link in the drawer page.

[0075] Specifically, the drawer page is not located at the same layer as the target page, but is located at an upper floating layer of the target page.

[0076] In some embodiments, Figure 4 As shown, the drawer page includes a header area and a content area; the drawer page is expanded on the upper layer of the target page, and the page content corresponding to the target link is displayed in the drawer page, including:

[0077] S310: Start the drawer component, expand the drawer page through the drawer component and cover it on the upper layer of the target page, and the area of ​​the drawer page is smaller than the area of ​​the webpage homepage;

[0078] S320: Display the page content of the sub-application corresponding to the target link in the content area of ​​the drawer page, and display the tab information corresponding to the target link in the header area of ​​the drawer page; the page content of the sub-application includes the sub-application homepage or the default sub-sub-application content of the sub-application.

[0079] For example, Figure 3 As shown in the interception network architecture diagram, after the cloud platform determines the expansion of the drawer page in the logic layer of the interception network architecture, the operations performed for the content of the web page link in the rendering layer include processing routing, appending tabs, and loading applications. Figure 5As shown, for example, if the target link clicked by the user is sub-application 1, and sub-application 1 belongs to the sub-application homepage that needs to be displayed in the drawer, the cloud platform displays the homepage content of sub-application 1 in the content area of ​​the drawer page, and displays the tab 1 corresponding to sub-application 1 in the header area. Through the steps of the above method, the page content rendering and display of the target link is realized.

[0080] In some embodiments, after displaying the page content of the sub-application corresponding to the target link in the content area of ​​the drawer page and displaying the tab information corresponding to the target link in the header area of ​​the drawer page, the method further includes:

[0081] When a user clicks on a specific link in the page content of a sub-application corresponding to a target link, a new tab is added to the header area of ​​the drawer page, the new tab is highlighted, and the page content corresponding to the specific link is displayed in the content area of ​​the drawer page; a specific link refers to a web link of any sub-application of the sub-application corresponding to the target link.

[0082] Specifically, the specific link can generally be a new webpage link, a webpage link of another sub-application or a sub-sub-application. If the currently displayed page content is the homepage of a specific sub-application, the specific link is a webpage link of any sub-sub-application of the specific sub-application.

[0083] For example, Figure 5-6 As shown, after the user clicks on the sub-sub-application link 2 on the homepage of sub-application 1, the content area of ​​the drawer page displays the content page 2 of the sub-sub-application link 2, and highlights the newly added tab 2, which corresponds to the content page 2.

[0084] For example, Figure 7 As shown, when the user clicks on the sub-application 2 logo outside the drawer page, since the drawer page is already expanded at this time, the cloud platform does not need to determine whether the drawer page needs to be expanded in the logic layer of the interception network architecture, and can display the homepage content of sub-application 2 on the content page of the drawer page, and add a tab 3 in the header area. Through the steps of the above method, smooth jump switching between different page contents is achieved, the rendering efficiency of the page during jump is improved, and the user's interactive experience during page jump is improved.

[0085] In some embodiments, after displaying the page content of the sub-application corresponding to the target link in the content area of ​​the drawer page and displaying the tab information corresponding to the target link in the header area of ​​the drawer page, the method further includes:

[0086] When the user closes the tab corresponding to the content of the sub-application corresponding to the target link, the page content of the sub-application corresponding to the target link and the corresponding document object model and event are destroyed together.

[0087] For example, Figure 8 As shown, when the user deletes tab 3, the cloud platform only deletes the homepage content of sub-application 2 corresponding to tab 3 in the drawer page, and the content area of ​​the drawer page displays the content corresponding to the above link 2. Fig. 9 As shown, when the user clicks on the sub-sub-application 22 of the sub-application 2, the drawer page is expanded, and the homepage content of the sub-sub-application 22 is displayed on the content page of the drawer page, and a new tab 3 is added in the header area. Fig.10 As shown, the user can click the delete button on the upper right of the drawer page to delete the entire drawer page. Specifically, the cloud platform will destroy the page content corresponding to the previous tabs 1, 2, and 3, as well as the corresponding document object model and events. Finally, when the user clicks on sub-application 3, the drawer page is not expanded. The cloud platform will determine whether the drawer page needs to be expanded for sub-application 3 in the logic layer of the interception network architecture. Fig.11 As shown, if it is known that there is no need to expand the drawer for sub-application 3, the cloud platform directly displays the homepage content of sub-application 3 on the bottom page of the target page. Fig.12 As shown, if it is known that there is no need to expand the drawer for the secondary sub-application 13, the cloud platform displays the homepage content of the secondary sub-application 13 at the bottom page of the current target page. Through the steps of the above method, the page content can be deleted, which improves the user's interactive experience when jumping pages.

[0088] In some embodiments, Fig.14 As shown, before expanding the drawer page on the upper layer of the target page, the method further includes:

[0089] S410: Register each sub-application and one or more sub-sub-applications of each sub-application;

[0090] S420: Matching a corresponding path for each sub-application;

[0091] S430: Load and display the sub-application identifier of each sub-application on the application bar according to the path corresponding to each sub-application, and load and display the sub-sub-application bar corresponding to the currently displayed sub-application on the application bar; each sub-sub-application bar includes one or more sub-sub-application identifiers of the corresponding sub-application.

[0092] Specifically, the main application of the cloud platform first passes the routing address to the sub-application and executes the mount function exported by each sub-application. Then, each sub-application is registered, the menu path of the main application is matched with the path of each sub-application, and finally, each sub-application identifier is loaded and displayed on the application bar. Among them, the currently displayed sub-application is generally the default sub-application, and finally the cloud platform loads the sub-sub-application bar corresponding to the default sub-application and displays it on the application bar.

[0093] For example, Figure 3As shown in the schematic diagram of the interception network architecture, the operations performed by the cloud platform for the content of the web link in the rendering layer include processing routes, appending tabs, and loading applications. Among them, the operation of processing routes refers to the main application first passing the routing address to the sub-application, and then loading and displaying each sub-application identifier on the application bar. Appending tabs refers to the operations of adding tabs 1, 2, 3, etc. described in the above embodiments. The operation of loading applications is the above-mentioned presentation of the content of the web link on the drawer page. Through the steps of the above method, it is possible to simultaneously load each sub-application under the main application and the corresponding sub-sub-applications onto the application bar, thereby improving the accuracy and efficiency of loading and presenting application identifiers in the case of multiple applications and improving the user's sensory experience.

[0094] According to another aspect, the present application provides a system for displaying a page, such as Fig.14 As shown, the system includes:

[0095] The page display module 110 is used to display a target page; the target page is a web page pre-configured with a drawer page; the target page includes an application bar, and the application bar includes multiple sub-application logos;

[0096] The automatic interception module 120 is used to run an interception program for intercepting web page links;

[0097] The link identification module 130 is used to obtain the webpage link intercepted by the interception program as the target link; and determine whether to expand the drawer page according to the target link;

[0098] In some embodiments, the link identification module 130 is further used to obtain the mapping relationship output by each sub-application, wherein the mapping relationship output by each sub-application includes the web page link of each sub-sub-application of the sub-application and its corresponding page identifier; traverse the web page links in the mapping relationship output by each sub-application, and compare the traversed web page links with the target link; if the traversed web page link is consistent with the target link, obtain the page identifier corresponding to the traversed web page link;

[0099] The drawer display module 140 is used to expand the drawer page on the upper layer of the target page when the drawer page needs to be expanded, and to display the page content corresponding to the target link in the drawer page.

[0100] In some embodiments, the drawer display module 140 is also used to start the drawer component, through which the drawer page is expanded and covered on the upper layer of the target page, and the area of ​​the drawer page is smaller than the area of ​​the web page homepage; the page content of the sub-application corresponding to the target link is displayed in the content area of ​​the drawer page, and the tab information corresponding to the target link is displayed in the header area of ​​the drawer page; the page content of the sub-application includes the sub-application homepage or the default sub-sub-application content of the sub-application.

[0101] According to another aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any one of the above-mentioned methods for page display are implemented.

[0102] According to another aspect, the present application provides a computer device, such as Fig.15 As shown, it includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of any one of the above-mentioned methods for page display are implemented.

[0103] Those skilled in the art can understand that all or part of the processes in the above method embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium, and when the computer program is executed, it can include the processes of the above method embodiments.

[0104] Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (RamCus), direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0105] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0106] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

[0107] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

Claims

1. A method for page display, characterized in that: The method comprises: Displaying a target page; the target page is a web page pre-configured with a drawer page; the target page includes an application bar, and the application bar includes identifiers of multiple sub-applications; Running an interception program for intercepting web page links, wherein the interception program is used to intercept A tag jumps, intercept window.open methods, and / or intercept browser routing; Obtaining the webpage link intercepted by the interception program as the target link; Determine whether to expand the drawer page according to the target link; If so, expand the drawer page on the upper layer of the target page, and display the page content corresponding to the target link in the drawer page; The drawer page includes a header area and a content area; the drawer page is unfolded on the upper layer of the target page, and the page content corresponding to the target link is displayed in the drawer page; including: Start the drawer component, and unfold the drawer page through the drawer component and cover the upper layer of the target page, wherein the area of ​​the drawer page is smaller than the area of ​​the webpage homepage; Displaying the page content of the sub-application corresponding to the target link in the content area of ​​the drawer page, and displaying the tab information corresponding to the target link in the header area of ​​the drawer page; the page content of the sub-application includes the sub-application homepage or the default sub-sub-application content of the sub-application; After displaying the page content corresponding to the target link in the drawer page, the method further includes: When a user clicks on a specific link in the page content of the sub-application corresponding to the target link, a new tab is added in the header area of ​​the drawer page, the new tab is highlighted, and the page content corresponding to the specific link is displayed in the content area of ​​the drawer page; the specific link refers to a web page link of any sub-application of the sub-application corresponding to the target link; When the user clicks on another sub-application logo outside the content page, the homepage content of the sub-application is displayed in the content area of ​​the drawer page, and a new tab is added for the sub-application in the header area of ​​the drawer page; Determining whether to expand the drawer page according to the target link includes: Obtain the mapping relationship output by each of the sub-applications, wherein the mapping relationship output by each of the sub-applications includes the web page link of each sub-sub-application of the sub-application and its corresponding page identifier; traverse the web page links in the mapping relationship output by each of the sub-applications, and compare the traversed web page links with the target links; if the traversed web page links are consistent with the target links, obtain the page identifier corresponding to the traversed web page links; determine whether to expand the drawer page based on the content richness and complexity of the obtained page identifier.

2. The method according to claim 1, characterized in that After displaying the page content of the sub-application corresponding to the target link in the content area of ​​the drawer page and displaying the tab information corresponding to the target link in the header area of ​​the drawer page, the method further includes: When the user closes the tab corresponding to the content of the sub-application corresponding to the target link, the page content of the sub-application corresponding to the target link and the corresponding document object model and event are destroyed together.

3. The method according to claim 1, characterized in that: Before expanding the drawer page on the upper layer of the target page, the method further includes: Registering each of the sub-applications and one or more sub-sub-applications of each of the sub-applications; Matching a corresponding path for each of the sub-applications; The sub-application identifiers of each sub-application are loaded and displayed on the application bar according to the paths corresponding to each sub-application, and the sub-sub-application bar corresponding to the currently displayed sub-application is loaded and displayed on the application bar; each sub-sub-application bar includes one or more sub-sub-application identifiers of the corresponding sub-application.

4. A system for displaying a page, characterized in that: The system comprises: A page display module, used to display a target page; the target page is a web page pre-configured with a drawer page; the target page includes an application bar, and the application bar includes identifiers of multiple sub-applications; An automatic interception module, used to run an interception program for intercepting web page links, wherein the interception program is used to intercept A tag jumps, intercept window.open methods and / or intercept browser routes; A link identification module, used to obtain the webpage link intercepted by the interception program as a target link; and determine whether to expand the drawer page according to the target link; A drawer display module, used for, when the drawer page needs to be expanded, expanding the drawer page on the upper layer of the target page, and displaying the page content corresponding to the target link in the drawer page; The drawer page includes a header area and a content area. The drawer display module is further used to start the drawer component. The drawer page is unfolded and covered on the upper layer of the target page through the drawer component. The area of ​​the drawer page is smaller than the area of ​​the web page homepage. The page content of the sub-application corresponding to the target link is displayed in the content area of ​​the drawer page, and the tab information corresponding to the target link is displayed in the header area of ​​the drawer page. The page content of the sub-application includes the sub-application homepage or the default sub-sub-application content of the sub-application. After displaying the page content corresponding to the target link in the drawer page, the drawer display module is further used to add a tab in the header area of ​​the drawer page, highlight the newly added tab, and display the page content corresponding to the specific link in the content area of ​​the drawer page when the user clicks on a specific link in the page content of the sub-application corresponding to the target link; the specific link refers to a web page link of any sub-application of the sub-application corresponding to the target link; When the user clicks on another sub-application logo outside the content page, the homepage content of the sub-application is displayed in the content area of ​​the drawer page, and a new tab is added for the sub-application in the header area of ​​the drawer page; The link identification module is also used to obtain the mapping relationship output by each of the sub-applications, and the mapping relationship output by each of the sub-applications includes the web page link of each sub-sub-application of the sub-application and its corresponding page identifier; traverse the web page links in the mapping relationship output by each of the sub-applications, and compare the traversed web page links with the target link; if the traversed web page link is consistent with the target link, obtain the page identifier corresponding to the traversed web page link; based on the content richness and complexity of the obtained page identifier, determine whether to expand the drawer page.

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

6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.