CN107562852B - Method, medium, device and computing equipment for displaying page in browser - Google Patents

Method, medium, device and computing equipment for displaying page in browser Download PDF

Info

Publication number
CN107562852B
CN107562852B CN201710750938.9A CN201710750938A CN107562852B CN 107562852 B CN107562852 B CN 107562852B CN 201710750938 A CN201710750938 A CN 201710750938A CN 107562852 B CN107562852 B CN 107562852B
Authority
CN
China
Prior art keywords
page
slave
display
original
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710750938.9A
Other languages
Chinese (zh)
Other versions
CN107562852A (en
Inventor
文宇
李顺平
祖琳
王亚辉
李曰斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lede Technology Co Ltd
Original Assignee
Lede Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lede Technology Co Ltd filed Critical Lede Technology Co Ltd
Priority to CN201710750938.9A priority Critical patent/CN107562852B/en
Publication of CN107562852A publication Critical patent/CN107562852A/en
Application granted granted Critical
Publication of CN107562852B publication Critical patent/CN107562852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a page display method, which comprises the following steps: in response to a first operation of a user on a first link in an original page, superposing a first display layer on the original page, and displaying a first slave page associated with the first link in the first display layer, wherein the area of the first display layer is smaller than that of the original page; in response to a second operation of the user on a second link in the original page or in the first slave page, a second display layer is superposed on the original page, and a second slave page associated with the second link is displayed in the second display layer, wherein the area of the second display layer is smaller than that of the original page. The embodiment of the invention can reduce the load of the display device to a certain extent. In addition, the embodiment of the invention also provides a page display medium, a page display device and a computing device.

Description

Method, medium, device and computing equipment for displaying page in browser
Technical Field
The embodiment of the invention relates to the technical field of page processing, in particular to a method, a medium, a device and a computing device for displaying a page in a browser.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
Currently, a plurality of page tags may be included in a browser, and a user may click on a page tag to enter a webpage associated with the page tag.
The inventor has found that when the page tags are more, a problem of a large load on a display device running a browser is caused.
Disclosure of Invention
In a page display mode in the prior art, when a user clicks a plurality of links, a browser opens a plurality of page tags, and the user can enter a webpage associated with the page tag by clicking the page tag. When the number of page tags is large, a problem that a display device running a browser is heavily loaded occurs. For this reason, there is a strong need for an improved page display scheme that reduces the load on the display device while the user clicks to view multiple pages.
In this context, embodiments of the present invention are intended to provide a method, medium, apparatus, and computing device for page display in a browser.
In a first aspect of embodiments of the present invention, a method for displaying a page in a browser is provided, including:
in response to a first operation of a user on a first link in an original page, superposing a first display layer on the original page, and displaying a first slave page associated with the first link in the first display layer, wherein the area of the first display layer is smaller than that of the original page;
in response to a second operation of the user on a second link in the original page or in the first slave page, a second display layer is superposed on the original page, and a second slave page associated with the second link is displayed in the second display layer, wherein the area of the second display layer is smaller than that of the original page.
In a second aspect of embodiments of the present invention, there is provided an apparatus for displaying a page in a browser, comprising:
the first display module is used for responding to a first operation of a user for a first link in an original page, superposing a first display layer on the original page, and displaying a first slave page related to the first link in the first display layer, wherein the area of the first display layer is smaller than that of the original page;
and a second display module, configured to, in response to a second operation performed by the user on a second link in the original page or the first slave page, superimpose a second display layer on the original page, and display a second slave page associated with the second link in the second display layer, where an area of the second display layer is smaller than an area of the original page.
In a third aspect of the embodiments of the present invention, an embodiment of the present invention provides a computer readable medium, on which a computer program is stored, where the program is executed by a processor to implement the above-mentioned steps of the method for displaying a page in a browser.
In a fourth aspect of the embodiments of the present invention, an embodiment of the present invention provides a computing device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the above-mentioned page display method in a browser when executing the program.
According to the method, the medium, the device and the computing equipment for displaying the page in the browser, which are provided by the embodiment of the invention, the display layer is superposed on the original page, the slave page related to the corresponding link is displayed in the display layer, the slave page viewed by the user is displayed in a mode of superposing the display layer on the original page, and the load of the display equipment is further reduced to a certain extent.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
FIG. 1 schematically illustrates an application scenario according to an embodiment of the present invention;
FIG. 2 is a flowchart schematically illustrating a method for displaying a page in a browser according to an embodiment of the present invention;
FIG. 3 schematically illustrates a flow diagram of a method for laminating a display layer to an overlay layer, according to an embodiment of the invention;
FIG. 4 schematically illustrates one of the page diagrams showing slave pages in a stacked manner, according to an embodiment of the present invention;
FIG. 5 schematically illustrates a second page schematic diagram showing slave pages displayed in a stacked manner, in accordance with an embodiment of the present invention;
FIG. 6 schematically illustrates one of the display page diagrams resulting from the display of a page according to another embodiment of the present invention;
FIG. 7 schematically illustrates a second display page schematic diagram obtained after displaying a page according to another embodiment of the present invention;
FIG. 8 schematically illustrates a third display page view resulting from displaying a page according to another embodiment of the present invention;
fig. 9 is a schematic structural diagram showing an apparatus for page display in a browser according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of a program product for implementing a method for page display in a browser according to an embodiment of the present invention;
fig. 11 is a schematic diagram illustrating a hardware structure of a computing device for implementing a page display method in a browser according to an embodiment of the present invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to the embodiment of the invention, a method, a medium, a device and a computing device for page display in a browser are provided.
In this document, any number of elements in the drawings is by way of example and not by way of limitation, and any nomenclature is used solely for differentiation and not by way of limitation.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Summary of The Invention
The inventor finds that in a page display mode in the prior art, when a user clicks more links, a browser opens a plurality of page tags, and the user can enter a webpage related to the page tag by clicking the page tag. When the number of page tags is large, a problem that a display device running a browser is heavily loaded occurs. For this reason, there is a strong need for an improved page display scheme that reduces the load on the display device while the user clicks to view multiple pages.
To this end, the invention provides a method, a medium, a device and a computing device for displaying pages in a browser, wherein the method comprises the following steps: in response to a first operation of a user on a first link in an original page, superposing a first display layer on the original page, and displaying a first slave page associated with the first link in the first display layer, wherein the area of the first display layer is smaller than that of the original page;
in response to a second operation of the user on a second link in the original page or in the first slave page, a second display layer is superposed on the original page, and a second slave page associated with the second link is displayed in the second display layer, wherein the area of the second display layer is smaller than that of the original page.
Having described the general principles of the invention, various non-limiting embodiments of the invention are described in detail below.
Application scene overview
Referring to fig. 1, as shown in fig. 1, an application scenario diagram of a page display scheme provided in an embodiment of the present invention includes a user terminal 101 and a server 102, where a browser is installed in the user terminal 101, a user 10 may operate the browser in the user terminal 101 to access a page, and the server 102, in response to a first operation for a first link in an original page sent by the user 10 through the browser in the user terminal 101, superimposes a first display layer on the original page, and displays a first slave page associated with the first link in the first display layer, where an area of the first display layer is smaller than an area of the original page; in response to a second operation sent by the user 10 through the browser in the user terminal 101, for a second link in the original page or in the first slave page, a second display layer is superimposed on the original page, and a second slave page associated with the second link is displayed in the second display layer, wherein the area of the second display layer is smaller than that of the original page. The user terminal 101 and the server 102 may communicate through a communication network such as a local area network, a wide area network, or a mobile internet; the user terminal 101 may be a portable device (e.g., a mobile phone, a tablet, a notebook Computer, etc.) or a Personal Computer (PC).
Exemplary method
A method for displaying a page in a browser according to an exemplary embodiment of the present invention is described below with reference to fig. 2 to 8 in conjunction with the application scenario of fig. 1. It should be noted that the above application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present invention, and the embodiments of the present invention are not limited in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
Fig. 2 is a flowchart illustrating an embodiment of a method for displaying a page in a browser according to the present invention, which mainly includes a process for displaying a page selected by a user to view, where an execution subject may be a server 102 in an application scene overview, or may be a user terminal 101 (more specifically, for example, a browser is installed in the user terminal 101), or may be partially executed by the user terminal 101, or partially executed by the server 102, as shown in fig. 2, where the method for displaying a page in a browser according to the present invention includes the following steps:
step 201, responding to a first operation of a user for a first link in an original page, superposing a first display layer on the original page, and displaying a first slave page associated with the first link in the first display layer, wherein the area of the first display layer is smaller than that of the original page.
In specific implementation, a user opens an original page in a browser for displaying the original page which the user needs to access, the original page comprises at least one link, and each link is associated with one slave page. The first link in this step is any link in the original page selected by the user under the condition that only the original page is currently displayed. When a first operation of a user on a first link in an original page is detected, a first display layer is overlaid on the original page, and a first slave page associated with the first link is displayed in the first display layer, so that the slave page of the original page is displayed in the same webpage tag without re-opening a new webpage tag page for displaying the slave page of the original page.
In this step, the area of the first display layer is smaller than the area of the original page, so that the first slave page displayed in the first display layer does not completely cover the original page.
The first operation may be a single-click operation, a double-click operation, a long-press operation, or the like, which is not limited herein.
Step 202, in response to a second operation of the user on a second link in the original page or in the first slave page, a second display layer is superimposed on the original page, and a second slave page associated with the second link is displayed in the second display layer, wherein the area of the second display layer is smaller than that of the original page.
In specific implementation, after the first slave page is displayed, the user may select a second link in the original page or a second link in the first slave page, and in response to a second operation of the user on the second link, a second display layer is superimposed on the original page to display a second slave page associated with the second link in the second display layer, where the currently displayed page includes the original page, the first slave page and the second slave page, and optionally, when the first slave page and the second slave page are simultaneously displayed, the original page is not completely covered.
In the case that the second link is an original page and the first slave page are displayed simultaneously, the second link may be any link other than the first link in the original page selected by the user or any link in the first slave page selected by the user, and the second operation may be a single-click operation, a double-click operation, a long-press operation, or the like, which is not limited herein.
In the embodiment of the invention, the display layer is superposed on the original page, and the slave page related to the corresponding link is displayed in the display layer, so that a user does not need to open a new webpage label page again when viewing a plurality of pages, and the slave page viewed by the user is displayed in a mode of superposing the display layer on the original page, so that a plurality of pages are displayed in the webpage label page where the original page is located at the same time, and the load of display equipment (such as the user terminal 101) is further reduced to a certain extent.
Optionally, the method for displaying a page in a browser according to the embodiment of the present invention further includes the following steps:
step 203, responding to a third operation of the user for a third link in the original page, the first slave page or the second slave page, superposing a third display layer on the original page, and displaying a third slave page associated with the third link in the third display layer, wherein the area of the third display layer is smaller than that of the original page.
In specific implementation, after the second slave page is displayed, the user may select a third link in the original page, a third link in the first slave page, or a third link in the second slave page, and in response to a third operation performed by the user on the third link, a third display layer is superimposed on the original page to display a third slave page associated with the third link in the third display layer, where the currently displayed page includes the original page, the first slave page, the second slave page, and the third slave page, and optionally, when the first slave page, the second slave page, and the third slave page are simultaneously displayed, the original page is not completely covered.
In a case where the third link is an original page, the first slave page, and the second slave page are simultaneously displayed, any link other than the first link and the second link in the original page selected by the user, or any link other than the second link in the first slave page selected by the user, or any link in the second slave page selected by the user, and the third operation may be a single-click operation, a double-click operation, a long-press operation, or the like, which is not limited herein.
In the embodiment of the invention, a plurality of pages can be simultaneously displayed in the webpage label page where the original page is located, so that the load of the display equipment is reduced to a certain extent.
In practical applications, according to the implementation processes of displaying the first slave page, the second slave page and the third slave page provided by the embodiment of the present invention, more implementations of displaying the slave pages should also fall within the protection scope of the embodiment of the present invention.
Optionally, as shown in fig. 3, the method for displaying a page in a browser according to the embodiment of the present invention further includes:
step 301, generating a mask layer of the original page, where the mask layer of the original page is used to cover the page content of the original page.
Step 302, overlay each display layer on a mask layer of the original page.
In specific implementation, before the first display layer is superimposed on the original page, or in response to a first operation of a user on a first link in the original page, a mask layer of the original page is generated, and then each display layer is superimposed on the mask layer of the original page. The transparency of the masking layer can be set according to the actual application, such as transparent, semi-transparent or opaque. Optionally, the mask layer in the embodiment of the present invention is configured to be translucent.
The mask layer is the prior art, and has applications in the technical field of webpage display, and a person skilled in the art can adopt the technical scheme of the prior art for realizing the mask layer to realize the mask layer in the embodiment of the invention.
After the mask layer of the original page is generated, the step of superimposing any display layer on the original page specifically includes: the any display layer is superimposed on the mask layer of the original page, thereby implementing the step 302 of superimposing each display layer on the mask layer of the original page.
Optionally, the embodiment provided in fig. 3 may also be implemented in response to a second operation performed by the user on a second link in the first slave page, or in response to a third operation performed by the user on a third link in the first slave page or the second slave page, after the layout layer is superimposed on the original page, since the layout layer hides the content in the original page, the user may not perform any operation on any link in the original page.
Optionally, the masking layer has the same area as the original page and completely covers the original page.
Optionally, on the basis of the embodiment provided in fig. 3, the method for displaying a page in a browser according to the embodiment of the present invention further includes: and in response to a fourth operation of the user on the mask layer area of the original page without the overlapped display layer, closing all currently displayed slave pages and hiding the mask layer of the original page.
In specific implementation, under the condition that all the slave pages are simultaneously displayed, the mask layer of the original page is not covered by all the slave pages, namely the mask layer of the original page has an area without overlapped display layers, at the moment, all the currently displayed slave pages are closed and the mask layer of the original page is hidden in response to the fourth operation of a user for the area, so that the slave pages can be closed in batch, and only the original page can be displayed, so that the user can conveniently return to view the original page.
The fourth operation may be a single-click operation, a double-click operation, a long-press operation, or the like, which is not limited herein.
Optionally, on the basis of the embodiment provided in fig. 2, the method for displaying a page in a browser provided by the present invention further includes:
and generating a mask layer of each slave page except the slave page with the latest display time, wherein the mask layer of the slave page is used for covering the page content of the corresponding slave page.
In specific implementation, the mask layer of each slave page except the slave page with the latest display time is generated to cover the page content of the corresponding slave page. Optionally, the area of the mask layer of the slave page is the same as the area of the corresponding slave page, and the mask layer of the slave page completely covers the slave page. Specifically, in the embodiment provided in fig. 2, in response to a second operation of the user on a second link in the first slave page, a mask layer of the first slave page is generated, and in response to a third operation of the user on a third link in the second slave page, a mask layer of the second slave page is generated; or, in response to a third operation of the user on a third link in the original page or the second slave page, generating mask layers of the first slave page and the second slave page, and after the mask layer on the slave page is generated, because the mask layer hides the content in the corresponding slave page, the user cannot perform any operation on any link in the slave page for generating the mask layer.
The description of the implementation manner of the masking layer and the transparency of the masking layer is introduced above, and is not described here.
Optionally, after generating the mask layer of the slave page, the method for displaying the page in the browser provided by the embodiment of the present invention further includes: and in response to a fifth operation of the user on a mask layer of any slave page, closing the slave page with the display time later than that of any slave page.
In specific implementation, any two slave pages are not completely overlapped, at this time, a part of the masking layer is exposed from the slave page of the generated masking layer, and in response to a fifth operation of a user on the masking layer of any slave page, the slave page with the display time later than that of any slave page is closed, and the masking layer of any slave page is hidden. This may facilitate the user in viewing the content of any of the slave pages. The fifth operation may be a single-click operation, a double-click operation, a long-press operation, or the like, which is not limited herein.
For example, assuming that the currently displayed slave page includes a first slave page, a second slave page and a third slave page, wherein the third slave page is the slave page with the latest display time, the display time of the second slave page is centered, and the display time of the first slave page is earliest, the second slave page and the third slave page are closed in response to a fifth operation of the user on the mask layer of the first slave page.
The slave page with the latest display time is the currently displayed slave page, the slave page with the latest display time is the slave page with the closest display time to the current time, the slave page with the earliest display time is the currently displayed slave page, and the slave page with the farthest display time to the current time is the currently displayed slave page.
Optionally, each slave page includes a close button, and any one of the currently displayed slave pages is closed in response to a click operation of the user on the close button of the slave page. This allows the user to select certain slave pages to be closed as desired.
As an alternative embodiment, the slave pages are displayed as follows:
and displaying the slave pages in a stacking mode according to the sequence of the display time, wherein the slave page with the latest display time is positioned at the uppermost layer of the slave pages displayed in the stacking mode.
In specific implementation, for each currently displayed slave page, the slave pages are displayed in a stacked manner according to the display time of each slave page from early to late, wherein the slave page with the latest display time is displayed on the uppermost layer. Optionally, of the slave pages displayed in a stacked manner, only the uppermost slave page is available for viewing and operation by the user.
As shown in fig. 4, a schematic page diagram for displaying slave pages in a stacked manner according to an embodiment of the present invention is provided, where the currently displayed slave page includes a first slave page, a second slave page, and a third slave page. As can be seen from fig. 4, the slave pages are displayed in a stacked manner in the chronological order of the display time. In the stacked display of the slave pages in fig. 4, the uppermost slave page completely covers the contents of the other slave pages. In practical application, each slave page can also be displayed in a stacked manner as shown in fig. 5, in each slave page displayed in a stacked manner in fig. 5, two adjacent slave pages do not completely cover the next slave page from the previous slave page, and the X-shape in fig. 4 and 5 is marked as a close button of the corresponding slave page. And when the user selects to close the second slave page, the first slave page is displayed on the uppermost layer.
In the case of generating the mask layer of the original page, in response to a fourth operation of the user with respect to the mask layer of the original page exposed in fig. 4 or 5, the first slave page, the second slave page, and the third slave page are simultaneously closed, and the mask layer of the original page is hidden.
In the case of generating the mask layer of each slave page other than the slave page whose display time is the latest, the third slave page is closed and the mask layer of the second slave page is hidden in response to a fifth operation of the user with respect to the second slave page in fig. 4 or 5, at which the second slave page is displayed on the uppermost layer, or the second slave page and the third slave page are closed and the mask layer of the first slave page is hidden in response to a fifth operation of the user with respect to the first slave page in fig. 4 or 5, at which the first slave page is displayed on the uppermost layer.
In fig. 4 and 5, the display time of the third slave page is the latest, the display time of the second slave page is the next latest, and the display time of the first slave page is the earliest.
As another alternative embodiment, the slave pages are displayed as follows:
and displaying the slave page with the latest display time in each currently displayed slave page on the right side of the slave page with the latest display time, and hiding the slave pages with the latest display time and the slave pages except the slave page with the latest display time.
In a specific implementation, the slave page with the latest display time and the slave page with the next latest display time are displayed on the original page, and the other slave pages are hidden, where the slave page with the latest display time is displayed on the right side of the slave page with the next latest display time is only an exemplary implementation, and the slave page with the latest display time may be displayed on the left side of the slave page with the next latest display time, which is not limited herein.
In the case where the slave page whose display time is the latest is displayed on the right side of the slave page whose display time is the latest, the slave page whose display time is the latest is displayed adjacent to the slave page whose display time is the latest, that is, the slave page whose display time is the latest does not cover any content of the slave page whose display time is the latest, and the slave page whose display time is the latest does not cover any content of the slave page whose display time is the latest; optionally, the slave page with the latest display time covers part of the slave page with the next latest display time, so that under the condition that the content in the slave page with the latest display time is more, the content in the slave page with the latest display time can be clearly and comprehensively displayed for the user to view. Fig. 6 is a schematic diagram of a display page obtained after a slave page is displayed according to an embodiment of the present invention, where only a second slave page and a third slave page are displayed, and the third slave page partially covers the second slave page, and the first slave page is hidden. After the third slave page is closed, as shown in fig. 7, the second slave page is displayed on the right side of the first slave page and covers part of the content of the first slave page, at this time, since the currently displayed slave page is the second slave page and the first slave page, at this time, the second slave page is the slave page with the latest display time, and the first slave page is the slave page with the next latest display time.
Optionally, the slave page with the latest display time and the slave page with the second latest display time completely cover the original page.
In specific implementation, the slave page with the latest display time and the slave page with the next latest display time can completely cover the original page, so that only the slave page with the latest display time and the slave page with the next latest display time are currently displayed. As shown in fig. 8, the schematic diagram shows only the slave page with the latest display time and the slave page with the second latest display time, where the third slave page is the slave page with the latest display time, and the second slave page is the slave page with the second latest display time.
In the case of generating the mask layer of the original page, in response to a fourth operation of the user with respect to the mask layer of the original page exposed in fig. 6 or 7, the first slave page, the second slave page, and the third slave page are simultaneously closed, and the mask layer of the original page is hidden.
In the case of generating the mask layers of the respective slave pages other than the slave page whose display time is the latest, in response to a fifth operation of the user with respect to any one of the slave pages whose display time is later than that of any one of the slave pages generated in fig. 6, 7, or 8, the mask layer of any one of the slave pages is closed and hidden. For example, in response to a fifth operation of the user on the second slave page of the mask layer generated in fig. 6, the third page is closed and the mask layer of the second slave page is hidden, and meanwhile, the second slave page is moved to a position where the third slave page is displayed before, and the first slave page is displayed on the left side of the second slave page, and the display diagram of the first slave page displayed on the left side of the second slave page is as shown in fig. 7.
Exemplary devices
Having described the method of displaying a page in a browser according to an exemplary embodiment of the present invention, an apparatus for displaying a page in a browser according to an exemplary embodiment of the present invention will be described with reference to fig. 9.
Fig. 9 is a schematic structural diagram of an apparatus for displaying a page in a browser according to an embodiment of the present invention, as shown in fig. 9, the apparatus may include the following modules:
a first display module 901, configured to, in response to a first operation performed by a user on a first link in an original page, superimpose a first display layer on the original page, and display a first slave page associated with the first link in the first display layer, where an area of the first display layer is smaller than an area of the original page;
a second display module 902, configured to, in response to a second operation performed by the user on a second link in the original page or in the first slave page, superimpose a second display layer on the original page, and display a second slave page associated with the second link in the second display layer, where an area of the second display layer is smaller than an area of the original page.
Optionally, the apparatus for displaying a page in a browser according to the embodiment of the present invention further includes:
a third display module 903, configured to, in response to a third operation by the user on a third link in the original page, the first slave page, or the second slave page, superimpose a third display layer on the original page, and display a third slave page associated with the third link in the third display layer, where an area of the third display layer is smaller than an area of the original page.
Optionally, the apparatus for displaying a page in a browser according to the embodiment of the present invention further includes:
a first generating module 904, configured to generate a mask layer of the original page, where the mask layer of the original page is used to cover page content of the original page;
the first display module 901 is specifically configured to overlay the first display layer on a mask layer of the original page.
The second display module 902 is specifically configured to overlay the second display layer on a mask layer of the original page;
the third display module 903 is specifically configured to overlay the third display layer on the mask layer of the original page.
Optionally, the apparatus for displaying a page in a browser according to the embodiment of the present invention further includes:
a first closing module 905, configured to close all currently displayed slave pages and hide mask layers of the original page in response to a fourth operation by the user on mask layer areas of the original page on which display layers are not superimposed.
Optionally, the apparatus for displaying a page in a browser according to the embodiment of the present invention further includes:
a second generating module 906, configured to generate, for each slave page other than the slave page with the latest display time, a mask layer of the slave page, where the mask layer of the slave page is used to mask page content of the corresponding slave page.
Optionally, the apparatus for displaying a page in a browser according to the embodiment of the present invention further includes: a second closing module 907, configured to close the slave page with a display time later than that of any slave page in response to a fifth operation by the user on a mask layer of the any slave page.
Optionally, in the apparatus for displaying a page in a browser according to the embodiment of the present invention, the first display module 901, the second display module 902, or the third display module 903 is further configured to:
and displaying the slave pages in a stacking mode according to the sequence of the display time, wherein the slave page with the latest display time is positioned at the uppermost layer of the slave pages displayed in the stacking mode.
Optionally, in the apparatus for displaying a page in a browser according to the embodiment of the present invention, the first display module 901, the second display module 902, or the third display module 903 is further configured to:
and displaying the slave page with the latest display time in each currently displayed slave page on the right side of the slave page with the latest display time, and hiding the slave pages with the latest display time and the slave pages except the slave page with the latest display time.
Optionally, the slave page with the latest display time covers part of the slave page with the second latest display time.
Optionally, the slave page with the latest display time and the slave page with the second latest display time completely cover the original page.
Exemplary Medium
Having described the page display method and apparatus in a browser according to exemplary embodiments of the present invention, a computer-readable medium for page display according to exemplary embodiments of the present invention will be described. An embodiment of the present invention provides a computer readable medium, on which a computer program is stored, the program, when executed by a processor, implements the steps in the method for displaying a page in a browser according to various exemplary embodiments of the present invention described in the above section of "exemplary method", such as implementing step 201 shown in fig. 2, in response to a first operation by a user on a first link in an original page, superimposing a first display layer on the original page, and displaying a first slave page associated with the first link in the first display layer, wherein an area of the first display layer is smaller than an area of the original page; step 202, in response to a second operation of the user on a second link in the original page or in the first slave page, a second display layer is superimposed on the original page, and a second slave page associated with the second link is displayed in the second display layer, wherein the area of the second display layer is smaller than that of the original page.
The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As shown in fig. 10, a program product 100 for page display according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device.
Exemplary computing device
Having described the method, apparatus, and medium of exemplary embodiments of the present invention, a computing device for page display of exemplary embodiments of the present invention is described next with reference to fig. 11.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible embodiments, a computing device for page display according to the present invention may include at least a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the method for page display in a browser according to various exemplary embodiments of the present invention described in the above section "exemplary method" of this specification when executing the program. For example, the processor implements step 201 shown in fig. 2 when executing the program, and in response to a first operation of a user on a first link in an original page, a first display layer is superimposed on the original page, and a first slave page associated with the first link is displayed in the first display layer, wherein the area of the first display layer is smaller than that of the original page; step 202, in response to a second operation of the user on a second link in the original page or in the first slave page, a second display layer is superimposed on the original page, and a second slave page associated with the second link is displayed in the second display layer, wherein the area of the second display layer is smaller than that of the original page.
A computing device 110 according to this embodiment of the invention is described below with reference to FIG. 11. The computing device 110 shown in FIG. 11 is only one example and should not be taken to limit the scope of use and functionality of embodiments of the present invention.
As shown in fig. 11, computing device 110 is embodied in the form of a general purpose computing device. Components of computing device 110 may include, but are not limited to: the processor 1101, the memory 1102, and a bus 1103 that couples the various system components (including the processor 1101 and the memory 1102).
The bus 1103 includes an address bus, a control bus, and a data bus.
The memory 1102 may include volatile memory, such as Random Access Memory (RAM)11021 and/or cache memory 11022, and may further include read-only memory (ROM) 11023.
Memory 1102 may also include a program/utility 11025 having a set (at least one) of program modules 11024, such program modules 11024 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Computing device 110 may also communicate with one or more external devices 1104 (e.g., keyboard, pointing device, etc.), which may be through input/output (I/O) interfaces 1105. Also, the computing device 110 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 1106. As shown in fig. 11, the network adapter 1106 communicates with the other modules of the computing device 110 over the bus 1103. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computing device 110, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
It should be noted that although in the above detailed description several modules of the page display device in a browser are mentioned, this division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the modules described above may be embodied in one module according to embodiments of the invention. Conversely, the features and functions of one module described above may be further divided into embodiments by a plurality of modules.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (11)

1. A method for displaying a page in a browser comprises the following steps:
in response to a first operation of a user on a first link in an original page, superposing a first display layer on the original page, and displaying a first slave page associated with the first link in the first display layer, wherein the area of the first display layer is smaller than that of the original page;
in response to a second operation of the user on a second link in the original page or in the first slave page, superposing a second display layer on the original page, and displaying a second slave page associated with the second link in the second display layer, wherein the area of the second display layer is smaller than that of the original page;
displaying each slave page in a stacking mode according to the sequence of the display time, wherein the slave page with the latest display time is positioned at the uppermost layer of each slave page displayed in the stacking mode;
generating a mask layer of the original page, wherein the mask layer of the original page is used for covering the page content of the original page;
superimposing each display layer over a mask layer of the original page;
responding to a fourth operation of the user on a mask layer area of the original page without overlapping display layers, closing all currently displayed slave pages, and hiding the mask layer of the original page;
the method further comprises the following steps: for each slave page except for the slave page with the latest display time, generating a mask layer of the slave page, wherein the mask layer of the slave page is used for covering page content of the corresponding slave page;
the method further comprises the following steps: and in response to a fifth operation of the user on a mask layer of any slave page, closing the slave page with the display time later than that of any slave page.
2. The method of claim 1, further comprising:
in response to a third operation of the user on a third link in the original page, the first slave page or the second slave page, a third display layer is superposed on the original page, and a third slave page associated with the third link is displayed in the third display layer, wherein the area of the third display layer is smaller than that of the original page.
3. The method of claim 1 or 2, further comprising:
and displaying the slave page with the latest display time in each currently displayed slave page on the right side of the slave page with the latest display time, and hiding the slave pages with the latest display time and the slave pages except the slave page with the latest display time.
4. The method of claim 3, wherein the slave page with the latest display time covers a part of the slave page with the second latest display time.
5. The method of claim 3, wherein the slave page with the latest display time and the slave page with the second latest display time completely cover the original page.
6. An apparatus for displaying a page in a browser, comprising:
the first display module is used for responding to a first operation of a user for a first link in an original page, superposing a first display layer on the original page, and displaying a first slave page related to the first link in the first display layer, wherein the area of the first display layer is smaller than that of the original page;
a second display module, configured to, in response to a second operation performed by the user on a second link in the original page or in the first slave page, superimpose a second display layer on the original page, and display a second slave page associated with the second link in the second display layer, where an area of the second display layer is smaller than an area of the original page;
the first generation module is used for generating a mask layer of the original page, and the mask layer of the original page is used for covering the page content of the original page;
the first display module is specifically configured to overlay the first display layer on a mask layer of the original page;
the second display module is specifically configured to overlay the second display layer on a mask layer of the original page;
a third display module, specifically configured to overlay a third display layer on the mask layer of the original page;
wherein, the first display module, the second display module or the third display module is further configured to: displaying the slave page with the latest display time in each currently displayed slave page on the right side of the slave page with the latest display time, and hiding the slave pages with the latest display time and the slave pages except the slave page with the latest display time;
a first closing module, configured to close all currently displayed slave pages and hide mask layers of an original page in response to a fourth operation of the user on mask layer regions of the original page on which display layers are not superimposed;
the second generation module is used for generating a mask layer of each slave page except for the slave page with the latest display time, and the mask layer of the slave page is used for covering the page content of the corresponding slave page;
the device, still include: and the second closing module is used for responding to a fifth operation of the user aiming at the mask layer of any slave page, and closing the slave page with the display time later than that of any slave page.
7. The apparatus of claim 6, wherein the first and second electrodes are disposed on opposite sides of the substrate,
the third display module is configured to, in response to a third operation of the user on a third link in the original page, the first slave page, or the second slave page, superimpose a third display layer on the original page, and display a third slave page associated with the third link in the third display layer, where an area of the third display layer is smaller than an area of the original page.
8. The apparatus of claim 6, wherein the slave page with the latest display time covers a part of the slave page with the second latest display time.
9. The apparatus of claim 6, wherein the slave page with the latest display time and the slave page with the second latest display time completely cover the original page.
10. A computer-readable medium, on which a computer program is stored which is executed by a processor for carrying out the steps of the method of any one of claims 1 to 5.
11. A computing device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of any one of claims 1 to 5 when executing the program.
CN201710750938.9A 2017-08-28 2017-08-28 Method, medium, device and computing equipment for displaying page in browser Active CN107562852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710750938.9A CN107562852B (en) 2017-08-28 2017-08-28 Method, medium, device and computing equipment for displaying page in browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710750938.9A CN107562852B (en) 2017-08-28 2017-08-28 Method, medium, device and computing equipment for displaying page in browser

Publications (2)

Publication Number Publication Date
CN107562852A CN107562852A (en) 2018-01-09
CN107562852B true CN107562852B (en) 2020-12-25

Family

ID=60977236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710750938.9A Active CN107562852B (en) 2017-08-28 2017-08-28 Method, medium, device and computing equipment for displaying page in browser

Country Status (1)

Country Link
CN (1) CN107562852B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254811B (en) * 2018-08-08 2021-12-17 五八有限公司 Interface display method and device, computer equipment and computer readable storage medium
CN112784190B (en) * 2019-11-11 2024-02-06 腾讯科技(深圳)有限公司 Control method, device, storage medium and equipment for showing form in page

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102087596A (en) * 2011-01-28 2011-06-08 深圳市同洲电子股份有限公司 Embedded browsing device and multi-page mixed display method thereof
CN103646023A (en) * 2013-09-24 2014-03-19 国家电网公司 Page and control increasing method based on WEB
CN104252362A (en) * 2014-09-26 2014-12-31 可牛网络技术(北京)有限公司 Web page showing method and web page showing device
CN104850296A (en) * 2014-02-14 2015-08-19 腾讯科技(深圳)有限公司 Method and apparatus for displaying page contents
CN105955739A (en) * 2016-04-29 2016-09-21 腾讯科技(深圳)有限公司 Graphical interface processing method, apparatus and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080059583A1 (en) * 2006-09-06 2008-03-06 Rhub Communications, Inc. Browser based web conferencing employing layering to display screen updates
CN103176972B (en) * 2011-12-20 2017-10-10 富泰华工业(深圳)有限公司 Browser shows the processing method and browser of subpage frame
CN102446224B (en) * 2012-01-05 2013-06-05 苏州阔地网络科技有限公司 Multi-level webpage block clipping method
CN103019516B (en) * 2012-12-10 2016-08-03 北京世界星辉科技有限责任公司 For the method and apparatus showing the page
CN104808904A (en) * 2015-04-29 2015-07-29 北京奇虎科技有限公司 Dynamic display method and dynamic display device of navigation elements in page
CN106777380A (en) * 2017-02-13 2017-05-31 广东欧珀移动通信有限公司 Browser page display methods, device and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102087596A (en) * 2011-01-28 2011-06-08 深圳市同洲电子股份有限公司 Embedded browsing device and multi-page mixed display method thereof
CN103646023A (en) * 2013-09-24 2014-03-19 国家电网公司 Page and control increasing method based on WEB
CN104850296A (en) * 2014-02-14 2015-08-19 腾讯科技(深圳)有限公司 Method and apparatus for displaying page contents
CN104252362A (en) * 2014-09-26 2014-12-31 可牛网络技术(北京)有限公司 Web page showing method and web page showing device
CN105955739A (en) * 2016-04-29 2016-09-21 腾讯科技(深圳)有限公司 Graphical interface processing method, apparatus and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于图层叠加及图像避让的虚拟战场态势显示策略;张江 等;《信息与电脑(理论版)》;20160123(第2016年02期);第66-67页 *
嵌入式浏览器软硬件混合渲染层的研究与设计;唐成戬 等;《计算机应用》;20130501(第2013年05期);第1456-1458页 *

Also Published As

Publication number Publication date
CN107562852A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN103809864B (en) A kind of method and apparatus at switching at runtime interface
US9857949B2 (en) Generating a context for translating strings based on associated application source code and markup
CN110874166B (en) Page switching method and device, storage medium and computer equipment
KR20130108285A (en) Drag-able tabs
US8527863B2 (en) Navigating through cross-referenced documents
CN108170794B (en) Information recommendation method and device, storage medium and electronic equipment
CN107562852B (en) Method, medium, device and computing equipment for displaying page in browser
US10795532B1 (en) Interactive graphical user interface thumbnail
US20190235844A1 (en) Code execution and data processing pipeline
CN112015626A (en) User behavior recording method, device and equipment
US10152546B2 (en) Method, system and terminal for performing search in a browser
US9367223B2 (en) Using a scroll bar in a multiple panel user interface
Wheeler Atkinson et al. Development of a multiple heuristics evaluation table (MHET) to support software development and usability analysis
US20180217849A1 (en) Windows Content Transfer Methods and Systems
US9558161B2 (en) Providing a recovery placeholder within an application
CA2836884A1 (en) Navigation user interface in support of page-focused, touch- or gesture-based browsing experience
US20130339354A1 (en) Method and system for mining trends around trending terms
CN115421631A (en) Interface display method and device
CN114518819A (en) Icon management method and device and electronic equipment
US20160179319A1 (en) Parameterized Computed Scrolling for Navigation of Structured Data
EP3355212B1 (en) Window content transfer methods and systems
CN110147260B (en) Method, medium, apparatus and computing device for implementing scene transition animation
CN116009849B (en) Graphic interface display method and device based on visual programming platform
US20240126577A1 (en) Visualization of application capabilities
US20110258524A1 (en) Grouping quick hyperlink

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant