CN105183890B - Webpage loading method based on browser and browser device - Google Patents
Webpage loading method based on browser and browser device Download PDFInfo
- Publication number
- CN105183890B CN105183890B CN201510629621.0A CN201510629621A CN105183890B CN 105183890 B CN105183890 B CN 105183890B CN 201510629621 A CN201510629621 A CN 201510629621A CN 105183890 B CN105183890 B CN 105183890B
- Authority
- CN
- China
- Prior art keywords
- page
- windows
- loading
- window
- preview
- 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
Links
- 238000011068 loading method Methods 0.000 title claims abstract description 133
- 238000000034 method Methods 0.000 claims abstract description 48
- 238000010586 diagram Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 2
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a webpage loading method based on a browser and a browser device, wherein the method comprises the following steps: loading at least two windows in a current tab page of a browser; loading a main page through one of the at least two windows; wherein the main page comprises: determining a page according to the uniform resource locator corresponding to the label page; loading preview pages through other windows except the window of the at least two windows; wherein the preview page includes: and determining the page according to the uniform resource locator in the main page. The invention solves the problems that the traditional webpage display form is fixed and the unified management of webpage display is lacked.
Description
Technical Field
The invention relates to the technical field of internet, in particular to a webpage loading method based on a browser and a browser device.
Background
A browser refers to a piece of software that can display the contents of an HTM L file (an application of a standard universal markup language) of a web server or a file system and allow a user to interact with the web server or the HTM L file.
However, at present, web pages browsed by a user through a browser are all displayed according to a style defined by a website server side, the display form is fixed, and unified management of the web pages is lacked.
Disclosure of Invention
In view of the above, the present invention has been made to provide a browser-based web page loading method and a browser device that overcome or at least partially solve the above problems.
According to one aspect of the invention, a webpage loading method based on a browser is provided, which comprises the following steps:
loading at least two windows in a current tab page of a browser;
loading a main page through one of the at least two windows; wherein the main page comprises: determining a page according to the uniform resource locator corresponding to the label page; and the number of the first and second groups,
loading preview pages through other windows except the window of the at least two windows; wherein the preview page includes: and determining the page according to the uniform resource locator in the main page.
According to another aspect of the present invention, there is also provided a browser device including:
the window loading module is used for loading at least two windows in the current tab page of the browser;
the main page loading module is used for loading a main page through one of the at least two windows; wherein the main page comprises: determining a page according to the uniform resource locator corresponding to the label page;
the preview page loading module is used for loading preview pages through other windows except the one window in the at least two windows; wherein the preview page includes: and determining the page according to the uniform resource locator in the main page.
According to the webpage loading scheme based on the browser disclosed by the embodiment of the invention, at least two windows can be loaded in the current label page of the browser; loading a main page through one of the at least two windows; wherein the main page comprises: determining a page according to the uniform resource locator corresponding to the label page; loading preview pages through other windows except the window of the at least two windows; wherein the preview page includes: and determining the page according to the uniform resource locator in the main page. Therefore, in the embodiment of the invention, different webpage pages can be uniformly managed and displayed based on the browser, and a user can customize a personalized display mode. Furthermore, the content of a plurality of web pages can be displayed in one tab page, so that the condition that different web pages are browsed by switching tab pages is avoided, the time is saved, the browsing efficiency is improved, a user can conveniently and quickly determine and obtain the needed page information, and the user experience is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flowchart illustrating steps of a method for loading a web page based on a browser according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a method for loading a web page based on a browser according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram of a split-screen display of a search results page according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating a step of displaying a search result page in a split screen manner according to a fourth embodiment of the present invention;
fig. 5 is a block diagram of a browser apparatus according to a fourth embodiment of the present invention;
fig. 6 is a block diagram of a browser device according to a fifth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. 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.
Example one
Referring to fig. 1, a flowchart illustrating steps of a method for loading a web page based on a browser according to an embodiment of the present invention is shown. In this embodiment, the method for loading a web page based on a browser may include:
at step 102, at least two windows are loaded in a current tab page of the browser.
In this embodiment, the window may mainly refer to a web page window for loading a web page. Generally, one tab page corresponds to one window, and in this embodiment, at least two windows may be loaded in the tab page.
And 104, loading the main page through one of the at least two windows.
In this embodiment, one of the at least two windows can be arbitrarily selected as a loading window of the main page, where the main page includes a page determined according to a Uniform Resource locator corresponding to the tab page, that is, the main page can be a page determined according to a Uniform Resource locator url (Uniform Resource L atom) in an address bar corresponding to the tab page.
And 106, loading the preview page through other windows except the window of the at least two windows.
In this embodiment, one or more preview pages may be loaded in other windows except the selected window used as the loading main page, for example, when there are two preview pages, the two preview pages may be loaded through the other windows respectively, that is, the number of preview pages may be the same as the number of other windows. Of course, it should be understood by those skilled in the art that due to the limitation of the browser window interface, the number of other windows may not increase infinitely as the number of preview pages increases, and multiple preview pages may be updated and displayed through the other windows according to a certain update rule, for example, the preview pages are displayed according to a set period, where the number of preview pages displayed each time may be determined according to the number of other windows.
In this embodiment, the preview page may include: and determining the page according to the uniform resource locator in the main page. As mentioned above, the main page may be a page determined according to a uniform resource locator url in an address bar corresponding to the tab page, and at least a plurality of embedded link addresses may be included in the main page, that is, at least one or more urls are included in the main page, and the preview page may be a page determined according to one or more urls included in the main page.
It should be noted that the method for loading a web page based on a browser according to this embodiment may be implemented by the browser itself based on a kernel of the browser. Different from the prior art, in the prior art, the presentation form of the web page is defined (compiled) by the website server side, and is rendered and presented to the user according to the style predefined by the website server side, but in the web page loading method described in this embodiment, when the web page is loaded and displayed, the presentation form of the web page does not depend on the presentation form (style) defined by the website server, but is processed by the browser: the method has universal applicability of loading at least two windows in one tab page and loading the display page through the at least two windows.
In summary, according to the webpage loading method based on the browser in the embodiment, at least two windows can be loaded in the current tab of the browser; loading a main page through one of the at least two windows; wherein the main page comprises: determining a page according to the uniform resource locator corresponding to the label page; loading preview pages through other windows except the window of the at least two windows; wherein the preview page includes: and determining the page according to the uniform resource locator in the main page. Therefore, in the embodiment, different webpage pages can be uniformly managed and displayed based on the browser, and a user can customize a personalized display mode. Furthermore, the content of a plurality of web pages can be displayed in one tab page, so that the condition that different web pages are browsed by switching tab pages is avoided, the time is saved, the browsing efficiency is improved, a user can conveniently and quickly determine and obtain the needed page information, and the user experience is improved.
Example two
Referring to fig. 2, a flowchart illustrating steps of a web page loading method based on a browser in a second embodiment of the present invention is shown. The method for loading a web page based on a browser according to this embodiment may be implemented based on a kernel of the browser.
In this embodiment, the method for loading a web page based on a browser specifically includes:
generally, after receiving request information of a user requesting a web page, a browser may send the request information to a server, and the server returns a web page (i.e., a main page) matched with a url carried in the request information to the browser according to the url carried in the request information. In other words, it can be understood that: the request information carries a uniform resource locator corresponding to the label page.
In this embodiment, preferably, after receiving the main page returned by the server and determined according to the url carried in the request information, the browser may execute the following steps:
And step 204, the browser acquires and intercepts a main page window for loading the main page.
In step 206, the browser splits the main page window into the at least two windows.
In this embodiment, the at least two windows may be obtained in any suitable manner, and the splitting of the main page window to obtain the at least two windows is only one feasible implementation scheme of multiple implementation manners for obtaining the at least two windows. For example, the browser may also directly generate the at least two windows according to a preset window generation rule, or directly obtain a defined (compiled) window from a preset memory for storing the windows or a cloud server.
Of course, whether the browser selects the conventional loading manner or the loading manner described in this embodiment may be determined according to the configuration request selected by the user, for example, the browser may provide a "split screen display" option to the user, and if it is determined according to the configuration request of the user that the "split screen display" option is closed, the conventional loading manner may be selected to load and display a web page; if it is determined that the "split screen display" option is turned on according to the configuration request of the user, the loading manner described in this embodiment may be selected to load and display the web page, and step 202 is executed.
Further, even if the "split screen display" option is in an open state, in this embodiment, the browser may, but not limited to, perform split screen display on all web pages, and perform split screen display only on web pages that satisfy the rule, for example, preferably, the browser may first determine whether the uniform resource locator corresponding to the tab page satisfies a first preset rule, if so, execute the above step 204, otherwise, directly load the main page determined according to the request information by using a conventional loading manner. Wherein the first preset rule includes but is not limited to: a set uniform resource locator for indicating that the page is at least one of: search results page, news page, forum page, bar page, video page, music page.
At step 208, the browser loads at least two windows in the browser's current tab.
In this embodiment, the browser may load the at least two windows in the same tab page, and each window may be used to load different pages, so as to implement display of different pages in the same tab page, thereby reducing switching operations of the user.
In this embodiment, the main page may specifically include: and determining the page according to the uniform resource locator corresponding to the label page.
In step 212, the browser loads the preview page through the other windows except the one window in the at least two windows. The preview page may specifically include: and determining the page according to the uniform resource locator in the main page.
In this embodiment, the browser may directly load the preview page in the other window according to a default configuration. For example, the main page is a search result page including a plurality of search results (each search result generally includes a title of a search result webpage and a link of the search result webpage, and skipping of the page can be realized by clicking the link of the search result webpage), the plurality of search results can be sequentially selected according to the number of other windows according to the sequence of the search results displayed in the search result page, and the preview pages corresponding to the selected search results are respectively loaded and displayed in the other windows one by one.
In addition, the browser may also determine the loading of the preview page according to a trigger operation of the user, where the trigger operation includes, but is not limited to, the following operations: click operations and hover operations. Preferably, the step 212 may include the following steps in specific implementation:
and step A, the browser receives a first trigger operation aiming at the main page.
And step B, the browser determines a first uniform resource locator in the main page according to the first trigger operation.
And step C, the browser displays a first preview page corresponding to the first uniform resource locator in a first window of the other windows.
For example, still taking the main page as the search result page as an example for explanation, after a user clicks one of the search results (for example, search result a) in the search result page, the browser receives a click operation for the search result a, determines urlA corresponding to the search result a according to the click operation for the search result a, and finally selects any one appropriate window (for example, window a) from the other windows to load and display a web page corresponding to the urlA, where the web page corresponding to the urlA is also the first preview page.
It should be noted that, when the number of the other windows is one, that is, there is only one window a, and after the browser receives the triggering operation of the user again, the window a may be updated to display the web page determined according to the triggering operation of the user again, specifically, the step 212 may further include the following steps: the browser receives a second trigger operation aiming at the main page; determining a second uniform resource locator in the main page according to the second trigger operation; and updating the first window according to the second uniform resource locator, and displaying a second preview page corresponding to the second uniform resource locator in the first window. For example, when the user clicks a search result (e.g., search result B) in the search result page again, the browser receives a click operation for the search result B, determines an url B corresponding to the search result B according to the click operation for the search result B, and finally loads and displays a web page corresponding to the url B in the window a according to the window a, where the web page corresponding to the url B is also the second preview page.
Of course, if there are a plurality of other windows, the second preview page may be loaded and displayed through the window a, or a window other than the window a in the other windows may also be loaded and displayed.
In a preferred embodiment of this embodiment, in order to ensure that the loading of the preview page matches the actual requirement (will) of the user, before the preview page is loaded, a judgment may be made on the trigger operation of the user, and it is determined whether to load the preview page in the other window according to a judgment result:
the browser judges whether the first trigger operation meets a second preset rule, if not, the step 212 is executed; if the condition is met, the display page can be loaded according to a conventional process, for example, the page is loaded and displayed in the newly-built tab page.
Wherein, the triggering operation satisfying the second preset rule may include, but is not limited to, the following operations: the method includes the steps of performing right click selection on a first operation of opening a webpage in a new tab page, performing right click selection on a second operation of opening the webpage in a new browser window, performing a dragging operation of dragging a search result in a search result page to the new tab page for opening, performing a third operation of right click selection on opening a blank page, and the like, in other words, when a first trigger operation of a user is an operation explicitly used for indicating opening of the webpage in the new tab page or the new browser window, executing a conventional flow according to the trigger operation of the user, and when the first trigger operation of the user does not meet a second preset rule (for example, an operation explicitly used for indicating opening of the webpage in the new tab page or the new browser window), loading and displaying the preview page in the other window.
In a preferred embodiment of this embodiment, after the at least two windows are loaded, the browser may establish and store a binding relationship among the current tab page, the one window, and the other windows.
When a user uses a browser to perform a page browser, switching between tab pages is often performed, and when switching from other tab pages back to the current tab page, the user can complete calling and loading of a window corresponding to the current tab page according to the stored binding relationship among the current tab page, one of the windows, and the other windows.
In another preferred embodiment of this embodiment, when the user determines a webpage desired to be opened (e.g., a webpage corresponding to a search result desired to be opened) through the preview page, the reloading of the preview page may be implemented as follows: and the browser receives the sending operation requests aiming at the other windows and sends the preview pages loaded in the other windows to the newly-built tab pages for loading.
In summary, according to the webpage loading method based on the browser in the embodiment, at least two windows can be loaded in the current tab of the browser; loading a main page through one of the at least two windows; wherein the main page comprises: determining a page according to the uniform resource locator corresponding to the label page; loading preview pages through other windows except the window of the at least two windows; wherein the preview page includes: and determining the page according to the uniform resource locator in the main page. Therefore, in the embodiment, different webpage pages can be uniformly managed and displayed based on the browser, and a user can customize a personalized display mode. Furthermore, the content of a plurality of web pages can be displayed in one tab page, so that the condition that different web pages are browsed by switching tab pages is avoided, the time is saved, the browsing efficiency is improved, a user can conveniently and quickly determine and obtain the needed page information, and the user experience is improved.
EXAMPLE III
Based on the above embodiments, the present embodiment takes the step flow of the split-screen display of the search result page as an example, and the method may be combined with the method in the above embodiments without contradiction. The method described in this example is explained in detail below.
Referring to fig. 3, a schematic diagram of a split-screen display of a search result page in a third embodiment of the present invention is shown. In this embodiment, the search result page may be a main page requested to be loaded by the request information, for example, the search result page a is a page determined by a user searching for the search term a through a search engine. It should be noted that the url corresponding to the search result page a satisfies the first preset rule, and the default configuration of the browser is: the "split screen display" option is on.
Further, as shown in fig. 3, the search result page a includes a plurality of search results: search result 1, search result 2, search result 3, search result 4, and so on, not to list one by one. As will be appreciated by those skilled in the art, each search result in the search results page A includes: a title of the search result web page and a link of the search result web page.
Preferably, in this embodiment, two windows (window 1 and window 2) are taken as an example for description, where both the window 1 and the window 2 are loaded in the current tab page, tab page 2. The search result page a is loaded and displayed in the window 1, and the preview page corresponding to each search result is loaded and displayed in the window 2, however, the search result page a and the preview page may also be loaded and displayed by interchanging windows, and the relative position between the window 1 and the window 2 is not limited to the left-right layout shown in fig. 3, for example, any other suitable layout form such as the up-down layout may also be adopted.
Referring to fig. 4, a flowchart illustrating a step of split-screen display of a search result page according to a fourth embodiment of the present invention is shown. In this embodiment, the step flow of the split-screen display of the search result page may specifically include the following steps:
And step 404, the browser receives a search result page which is returned by the server and determined according to the search request.
In this embodiment, taking a search result page a as an example, the search result page a carries a urlA corresponding to the search result page a.
In this embodiment, the address displayed in the address bar corresponding to the newly created tab page 2 is the url.
In step 410, the browser receives a trigger operation for the search result 1 in the search result page a, and displays the preview page 1 corresponding to the search result 1 in the window 2.
In this embodiment, as described above, the search result 1 correspondingly carries the corresponding web page address url 1. When the browser determines that the trigger operation for the search result 1 is not an operation for indicating a new tab page or a new browser window, split screen display may be performed, that is, a page corresponding to the url1 is loaded and displayed in the window 2, that is, the page 1 is previewed.
Of course, it should be understood by those skilled in the art that, when the browser receives a trigger operation from the user for another search result (e.g., search result 2), the preview page 2 determined according to the url2 corresponding to the search result 2 may be loaded and displayed in the window 2 to update the previously loaded preview page 1, referring to the implementation process of step 410.
In addition, the browser can also establish and store the binding relationship among the tab page 2, the window 1 and the window 2, as shown in fig. 3, when switching from the tab page 1 to the tab page 2, the browser can directly call the window 1 and the window 2 to be loaded in the tab page 2 according to the stored binding relationship, so that the time is saved, and the loading efficiency is improved.
In summary, in the webpage loading method based on the browser according to the embodiment, at least two windows are loaded in the current tab of the browser; loading a main page through one of the at least two windows; wherein the main page comprises: determining a page according to the uniform resource locator corresponding to the label page; loading preview pages through other windows except the window of the at least two windows; wherein the preview page includes: and determining the page according to the uniform resource locator in the main page. Therefore, in the embodiment, different webpage pages can be uniformly managed and displayed based on the browser, and a user can customize a personalized display mode. Furthermore, the content of a plurality of web pages can be displayed in one tab page, so that the condition that different web pages are browsed by switching tab pages is avoided, the time is saved, the browsing efficiency is improved, a user can conveniently and quickly determine and obtain the needed page information, and the user experience is improved.
It should be noted that the foregoing method embodiments are described as a series of acts or combinations for simplicity in explanation, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts or acts described, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Example four
Based on the same inventive concept as the above method embodiment. Referring to fig. 5, a block diagram of a browser device according to a fourth embodiment of the present invention is shown. In this embodiment, the browser device may include:
a window loading module 502, configured to load at least two windows in a current tab page of the browser.
A main page loading module 504, configured to load a main page through one of the at least two windows.
In this embodiment, the main page includes: and determining the page according to the uniform resource locator corresponding to the label page.
A preview page loading module 506, configured to load a preview page through another window of the at least two windows except the one window.
In this embodiment, the preview page includes: and determining the page according to the uniform resource locator in the main page.
In summary, the browser device according to this embodiment may load at least two windows in the current tab of the browser; loading a main page through one of the at least two windows; wherein the main page comprises: determining a page according to the uniform resource locator corresponding to the label page; loading preview pages through other windows except the window of the at least two windows; wherein the preview page includes: and determining the page according to the uniform resource locator in the main page. Therefore, in the embodiment, different webpage pages can be uniformly managed and displayed based on the browser, and a user can customize a personalized display mode. Furthermore, the content of a plurality of web pages can be displayed in one tab page, so that the condition that different web pages are browsed by switching tab pages is avoided, the time is saved, the browsing efficiency is improved, a user can conveniently and quickly determine and obtain the needed page information, and the user experience is improved.
EXAMPLE five
Referring to fig. 6, a block diagram of a browser device according to a fifth embodiment of the present invention is shown. In this embodiment, the browser device may include:
a window loading module 602, configured to load at least two windows in a current tab page of the browser.
A main page loading module 604, configured to load a main page through one of the at least two windows.
In this embodiment, the main page includes: and determining the page according to the uniform resource locator corresponding to the label page.
A preview page loading module 606, configured to load a preview page through another window of the at least two windows except the one window.
In this embodiment, the preview page includes: and determining the page according to the uniform resource locator in the main page.
Preferably, the preview page loading module 606 may specifically include:
a first receiving module 6062, configured to receive a first trigger operation for the main page.
A first url determining module 6064, configured to determine, according to the first trigger operation, a first uniform resource locator in the main page.
A first displaying module 6066, configured to display, in a first window of the other windows, a first preview page corresponding to the first uniform resource locator.
It should be noted that, in order to meet the user requirement, avoid loading errors, and ensure the user experience, before the first display module 6066 is executed, whether the first display module 6066 needs to be executed may be determined by: a second determining module, configured to determine whether the first trigger operation meets a second preset rule before the first displaying module 6066 displays the first preview page corresponding to the first uniform resource locator in the first window of the other windows, and if not, execute the first displaying module 6066; and the second preset rule is used for indicating that the webpage is opened in the new tab page.
Further preferably, the preview page loading module 606 may further include
A second receiving module 6068, configured to receive a second trigger operation for the main page after the first displaying module 6066 displays the first preview page corresponding to the first uniform resource locator in the first window of the other windows.
A second url determining module 60610, configured to determine a second uniform resource locator in the main page according to the second trigger operation.
A second displaying module 60612, configured to display a second preview page corresponding to the second uniform resource locator in a second window of the other windows, or update the first window according to the second uniform resource locator and display a second preview page corresponding to the second uniform resource locator in the first window.
In a preferred aspect of this embodiment, the browser device may further include:
a determining module 608, configured to receive the main page determined according to the request information returned by the server before the window loading module 602 loads at least two windows in the current tab page of the browser. Wherein, the request information carries the uniform resource locator corresponding to the label page.
The intercepting module 610 is configured to acquire and intercept a main page window used for loading the main page.
In this embodiment, it is preferable that before the execution of the intercepting module 610, whether the intercepting module 610 needs to be executed is determined by: a first determining module, configured to determine whether a uniform resource locator corresponding to the tab page meets a first preset rule before the intercepting module 610 acquires and intercepts a main page window used for loading the main page, and if so, execute the intercepting module 610. Wherein the first preset rule may also include but is not limited to: a set uniform resource locator for indicating that the page is at least one of: search results page, news page, forum page, bar page, video page, music page.
A splitting module 612, configured to split the main page window into the at least two windows.
In another preferable aspect of this embodiment, the browser device may further include:
the establishing module 614 is configured to establish and store a binding relationship among the current tab page, the one window, and the other windows after the window loading module 602 loads at least two windows in the current tab page of the browser.
In another preferable scheme of this embodiment, the browser device may further include:
an operation request receiving module 616, configured to receive an operation request for sending the other window after the preview page loading module loads the preview page through the other window except the one window of the at least two windows, and send the preview page loaded in the other window to the new tab page for loading.
In summary, the browser device according to this embodiment may load at least two windows in the current tab of the browser; loading a main page through one of the at least two windows; wherein the main page comprises: determining a page according to the uniform resource locator corresponding to the label page; loading preview pages through other windows except the window of the at least two windows; wherein the preview page includes: and determining the page according to the uniform resource locator in the main page. Therefore, in the embodiment, different webpage pages can be uniformly managed and displayed based on the browser, and a user can customize a personalized display mode. Furthermore, the content of a plurality of web pages can be displayed in one tab page, so that the condition that different web pages are browsed by switching tab pages is avoided, the time is saved, the browsing efficiency is improved, a user can conveniently and quickly determine and obtain the needed page information, and the user experience is improved.
For the above device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the relevant points, refer to the partial description of the method embodiment.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in a browser device according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention discloses A1 and a webpage loading method based on a browser, which comprises the following steps:
loading at least two windows in a current tab page of a browser;
loading a main page through one of the at least two windows; wherein the main page comprises: determining a page according to the uniform resource locator corresponding to the label page; and the number of the first and second groups,
loading preview pages through other windows except the window of the at least two windows; wherein the preview page includes: and determining the page according to the uniform resource locator in the main page.
A2, the method of A1, further comprising, prior to the step of loading at least two windows in a browser's current tab:
receiving the main page which is returned by the server and determined according to the request information; wherein, the request information carries a uniform resource locator corresponding to the label page;
acquiring and intercepting a main page window for loading the main page;
splitting the main page window into the at least two windows.
A3, the method of A2, further comprising, prior to the step of obtaining and intercepting a main page window for loading the main page:
and judging whether the uniform resource locator corresponding to the tab page meets a first preset rule, if so, executing the step of acquiring and intercepting a main page window for loading the main page.
A4, the method of A3, the first preset rule comprising: a set uniform resource locator for indicating that the page is at least one of: search results page, news page, forum page, bar page, video page, music page.
A5, the method of A1, the loading the preview page through the other of the at least two windows except the one of the windows, comprising:
receiving a first trigger operation aiming at the main page;
determining a first uniform resource locator in the main page according to the first trigger operation;
and displaying a first preview page corresponding to the first uniform resource locator in a first window of the other windows.
A6, the method as in A5, the loading the preview page through the other windows of the at least two windows except the one window, further comprising:
after the step of displaying the first preview page corresponding to the first uniform resource locator in the first window of the other windows, receiving a second trigger operation for the main page;
determining a second uniform resource locator in the main page according to the second trigger operation;
and displaying a second preview page corresponding to the second uniform resource locator in a second window of the other windows, or updating the first window according to the second uniform resource locator and displaying the second preview page corresponding to the second uniform resource locator in the first window.
A7, the method of A5, further comprising, prior to the step of displaying the first preview page corresponding to the first uniform resource locator in a first one of the other windows:
judging whether the first trigger operation meets a second preset rule, if not, executing the step of displaying a first preview page corresponding to the first uniform resource locator in a first window of the other windows; and the second preset rule is used for indicating that the webpage is opened in the new tab page.
A8, the method of A1, further comprising, after the step of loading at least two windows in a browser's current tab:
and establishing and storing the binding relationship among the current tab page, the window and the other windows.
A9, the method of A1, further comprising, after the step of loading preview pages through the other of the at least two windows except the one of the windows:
and receiving a sending operation request aiming at the other windows, and sending the preview page loaded in the other windows to the newly-built tab page for loading.
A10, the method as in any A1-A9, wherein the webpage loading method is realized by a browser main program.
The invention also discloses B11, a browser device, comprising:
the window loading module is used for loading at least two windows in the current tab page of the browser;
the main page loading module is used for loading a main page through one of the at least two windows; wherein the main page comprises: determining a page according to the uniform resource locator corresponding to the label page;
the preview page loading module is used for loading preview pages through other windows except the one window in the at least two windows; wherein the preview page includes: and determining the page according to the uniform resource locator in the main page.
B12, the browser device of B11, further comprising:
the determining module is used for receiving the main page which is returned by the server and determined according to the request information before the window loading module loads at least two windows in the current tab page of the browser; wherein, the request information carries a uniform resource locator corresponding to the label page;
the intercepting module is used for acquiring and intercepting a main page window used for loading the main page;
and the splitting module is used for splitting the main page window into the at least two windows.
B13, the browser device of B12, further comprising:
the first judgment module is used for judging whether the uniform resource locator corresponding to the tab page meets a first preset rule or not before the interception module acquires and intercepts the main page window used for loading the main page, and if yes, the interception module is executed.
B14, the browser device as in B13, the first preset rule comprising: a set uniform resource locator for indicating that the page is at least one of: search results page, news page, forum page, bar page, video page, music page.
B15, the browser device of B11, the preview page loading module comprising:
the first receiving module is used for receiving a first trigger operation aiming at the main page;
a first url determining module, configured to determine a first uniform resource locator in the main page according to the first trigger operation;
and the first display module is used for displaying a first preview page corresponding to the first uniform resource locator in a first window of the other windows.
B16, the browser device of B15, the preview page loading module further comprising:
a second receiving module, configured to receive a second trigger operation for the main page after the first displaying module displays the first preview page corresponding to the first uniform resource locator in the first window of the other windows;
a second url determining module, configured to determine a second uniform resource locator in the main page according to the second trigger operation;
and a second display module, configured to display a second preview page corresponding to the second uniform resource locator in a second window of the other windows, or update the first window according to the second uniform resource locator, and display a second preview page corresponding to the second uniform resource locator in the first window.
B17, the browser device of B15, further comprising:
a second determining module, configured to determine whether the first trigger operation satisfies a second preset rule before the first displaying module displays the first preview page corresponding to the first uniform resource locator in the first window of the other windows, and if not, execute the first displaying module; and the second preset rule is used for indicating that the webpage is opened in the new tab page.
B18, the browser device of B11, further comprising:
and the establishing module is used for establishing and storing the binding relationship among the current tab page, the one window and the other windows after the window loading module loads at least two windows in the current tab page of the browser.
B19, the browser device of B11, further comprising:
and the operation request receiving module is used for receiving the sending operation requests for the other windows after the preview page loading module loads the preview pages through the other windows except one of the at least two windows, and sending the preview pages loaded in the other windows to the newly-built tab page for loading.
Claims (17)
1. A webpage loading method based on a browser comprises the following steps:
loading at least two windows in a current tab page of a browser;
loading a main page through one of the at least two windows; wherein the main page comprises: determining a page according to the uniform resource locator corresponding to the label page; and the number of the first and second groups,
loading preview pages through other windows except the window of the at least two windows; wherein the preview page includes: determining a page according to a uniform resource locator in the main page; the number of the preview pages is the same as that of the other windows; with the increase of the number of the preview pages, the other windows are updated and displayed according to a certain updating rule;
before the step of loading at least two windows in a current tab page of a browser, the method further comprises:
receiving the main page which is returned by the server and determined according to the request information; wherein, the request information carries a uniform resource locator corresponding to the label page;
acquiring and intercepting a main page window for loading the main page;
splitting the main page window into the at least two windows.
2. The method of claim 1, wherein prior to the step of obtaining and intercepting a main page window for loading the main page, the method further comprises:
and judging whether the uniform resource locator corresponding to the tab page meets a first preset rule, if so, executing the step of acquiring and intercepting a main page window for loading the main page.
3. The method of claim 2, wherein the first preset rule comprises: a set uniform resource locator for indicating that the page is at least one of: search results page, news page, forum page, bar page, video page, music page.
4. The method of claim 1, wherein said loading the preview page through the other of said at least two windows other than said one of said at least two windows comprises:
receiving a first trigger operation aiming at the main page;
determining a first uniform resource locator in the main page according to the first trigger operation;
and displaying a first preview page corresponding to the first uniform resource locator in a first window of the other windows.
5. The method of claim 4, wherein said loading the preview page through the other of said at least two windows other than said one of said windows further comprises:
after the step of displaying the first preview page corresponding to the first uniform resource locator in the first window of the other windows, receiving a second trigger operation for the main page;
determining a second uniform resource locator in the main page according to the second trigger operation;
and displaying a second preview page corresponding to the second uniform resource locator in a second window of the other windows, or updating the first window according to the second uniform resource locator and displaying the second preview page corresponding to the second uniform resource locator in the first window.
6. The method of claim 4, wherein prior to the step of displaying the first preview page corresponding to the first uniform resource locator in the first one of the other windows, the method further comprises:
judging whether the first trigger operation meets a second preset rule, if not, executing the step of displaying a first preview page corresponding to the first uniform resource locator in a first window of the other windows; and the second preset rule is used for indicating that the webpage is opened in the new tab page.
7. The method of claim 1, wherein after the step of loading at least two windows in a current tab page of a browser, the method further comprises:
and establishing and storing the binding relationship among the current tab page, the window and the other windows.
8. The method of claim 1, wherein after the step of loading the preview page through the other of the at least two windows other than the one of the windows, the method further comprises:
and receiving a sending operation request aiming at the other windows, and sending the preview page loaded in the other windows to the newly-built tab page for loading.
9. The method of any one of claims 1-8, wherein the web page loading method is implemented by a main program of a browser.
10. A browser device, comprising:
the window loading module is used for loading at least two windows in the current tab page of the browser;
the main page loading module is used for loading a main page through one of the at least two windows; wherein the main page comprises: determining a page according to the uniform resource locator corresponding to the label page;
the preview page loading module is used for loading preview pages through other windows except the one window in the at least two windows; wherein the preview page includes: determining a page according to a uniform resource locator in the main page; the number of the preview pages is the same as that of the other windows; with the increase of the number of the preview pages, the other windows are updated and displayed according to a certain updating rule;
further comprising:
the determining module is used for receiving the main page which is returned by the server and determined according to the request information before the window loading module loads at least two windows in the current tab page of the browser; wherein, the request information carries a uniform resource locator corresponding to the label page;
the intercepting module is used for acquiring and intercepting a main page window used for loading the main page;
and the splitting module is used for splitting the main page window into the at least two windows.
11. The browser device of claim 10, further comprising:
the first judgment module is used for judging whether the uniform resource locator corresponding to the tab page meets a first preset rule or not before the interception module acquires and intercepts the main page window used for loading the main page, and if yes, the interception module is executed.
12. The browser device of claim 11, wherein the first preset rule comprises: a set uniform resource locator for indicating that the page is at least one of: search results page, news page, forum page, bar page, video page, music page.
13. The browser device of claim 10, wherein the preview page loading module comprises:
the first receiving module is used for receiving a first trigger operation aiming at the main page;
a first url determining module, configured to determine a first uniform resource locator in the main page according to the first trigger operation;
and the first display module is used for displaying a first preview page corresponding to the first uniform resource locator in a first window of the other windows.
14. The browser device of claim 13, wherein the preview page loading module further comprises:
a second receiving module, configured to receive a second trigger operation for the main page after the first displaying module displays the first preview page corresponding to the first uniform resource locator in the first window of the other windows;
a second url determining module, configured to determine a second uniform resource locator in the main page according to the second trigger operation;
and a second display module, configured to display a second preview page corresponding to the second uniform resource locator in a second window of the other windows, or update the first window according to the second uniform resource locator, and display a second preview page corresponding to the second uniform resource locator in the first window.
15. The browser device of claim 13, further comprising:
a second determining module, configured to determine whether the first trigger operation satisfies a second preset rule before the first displaying module displays the first preview page corresponding to the first uniform resource locator in the first window of the other windows, and if not, execute the first displaying module; and the second preset rule is used for indicating that the webpage is opened in the new tab page.
16. The browser device of claim 10, further comprising:
and the establishing module is used for establishing and storing the binding relationship among the current tab page, the one window and the other windows after the window loading module loads at least two windows in the current tab page of the browser.
17. The browser device of claim 10, further comprising:
and the operation request receiving module is used for receiving the sending operation requests for the other windows after the preview page loading module loads the preview pages through the other windows except one of the at least two windows, and sending the preview pages loaded in the other windows to the newly-built tab page for loading.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510629621.0A CN105183890B (en) | 2015-09-28 | 2015-09-28 | Webpage loading method based on browser and browser device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510629621.0A CN105183890B (en) | 2015-09-28 | 2015-09-28 | Webpage loading method based on browser and browser device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105183890A CN105183890A (en) | 2015-12-23 |
CN105183890B true CN105183890B (en) | 2020-07-10 |
Family
ID=54905971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510629621.0A Active CN105183890B (en) | 2015-09-28 | 2015-09-28 | Webpage loading method based on browser and browser device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105183890B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105677785A (en) * | 2015-12-31 | 2016-06-15 | 深圳市八零年代网络科技有限公司 | Method and system for outputting preview page in network browser |
CN106202160A (en) * | 2016-06-23 | 2016-12-07 | 青岛海信移动通信技术股份有限公司 | A kind of Webpage display process and device |
CN106407435A (en) * | 2016-09-28 | 2017-02-15 | 乐视控股(北京)有限公司 | Browser page display processing method and device |
CN106777380A (en) * | 2017-02-13 | 2017-05-31 | 广东欧珀移动通信有限公司 | Browser page display methods, device and terminal |
CN112799745B (en) * | 2019-11-14 | 2024-03-15 | 深圳市雅阅科技有限公司 | Page display control method and device |
CN111399721B (en) * | 2020-04-20 | 2024-04-30 | Oppo广东移动通信有限公司 | Method and device for triggering search by display interface, storage medium and terminal |
CN111857492A (en) * | 2020-08-09 | 2020-10-30 | 深圳市哈哈丫丫互联网有限公司 | Method for opening new tab of website |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103049177A (en) * | 2011-10-14 | 2013-04-17 | 浪潮乐金数字移动通信有限公司 | Mobile terminal and browser split screen browsing method thereof |
US20140100956A1 (en) * | 2012-10-05 | 2014-04-10 | Redfin Corporation | Providing fast alerts for rapidly changing real estate data |
CN103279517A (en) * | 2013-05-27 | 2013-09-04 | 中山爱科数字科技股份有限公司 | Webpage content showing method |
CN103376974A (en) * | 2013-06-28 | 2013-10-30 | 广州市动景计算机科技有限公司 | Window switching method and device |
CN104636120A (en) * | 2013-11-06 | 2015-05-20 | 中兴通讯股份有限公司 | Multi-window display method and device of browser |
-
2015
- 2015-09-28 CN CN201510629621.0A patent/CN105183890B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105183890A (en) | 2015-12-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105183890B (en) | Webpage loading method based on browser and browser device | |
US8386955B1 (en) | User-optimized content for web browsing windows | |
CN110162720B (en) | Webpage loading method and device, computer equipment and storage medium | |
US9916390B2 (en) | Managing web browser cache for offline browsing | |
US20160283592A1 (en) | Method for performing network search at a browser side and a browser | |
US9727354B2 (en) | System and methods for loading an application and its modules in a client device | |
US20130019159A1 (en) | Mobile web browser for pre-loading web pages | |
US20140143644A1 (en) | Web browser page transition acceleration | |
CN107870920B (en) | Browser resource pre-pulling method and device | |
CN103823829B (en) | A kind of method and apparatus played out to video web page | |
KR101969944B1 (en) | Deep linking to many native applications | |
CN103034727A (en) | System for intercepting pop-up window in webpage | |
CN107291759B (en) | Method and device for processing browser page resources | |
CN104063415A (en) | Method and system for displaying webpage user-defined content | |
WO2015062416A1 (en) | Method and device for loading webpages based onuiwebview components | |
CN106202179B (en) | Page loading method and device | |
CN109522500B (en) | Webpage display method, device, terminal and storage medium | |
CN105260421A (en) | Webpage loading method and apparatus | |
US10594764B2 (en) | Request cache to improve web applications performance | |
WO2014108038A1 (en) | Frequently-used website generation client terminal, server, system and method | |
CN106960008B (en) | Method for searching by browser and browser | |
CN105095220B (en) | A kind of browser implementation method, terminal and virtualization agent device | |
CN111753219A (en) | Method and system for displaying search result page | |
CN110889073B (en) | Page request response method, server and computer storage medium | |
TWI519980B (en) | Method and device for displaying web page and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240113 Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |
|
TR01 | Transfer of patent right |