CN111984868A - Method and device for controlling webpage browsing in browser - Google Patents

Method and device for controlling webpage browsing in browser Download PDF

Info

Publication number
CN111984868A
CN111984868A CN202010852515.XA CN202010852515A CN111984868A CN 111984868 A CN111984868 A CN 111984868A CN 202010852515 A CN202010852515 A CN 202010852515A CN 111984868 A CN111984868 A CN 111984868A
Authority
CN
China
Prior art keywords
webpage
browser
displayed
server
target url
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.)
Withdrawn
Application number
CN202010852515.XA
Other languages
Chinese (zh)
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.)
Shanghai 2345 Network Technology Co ltd
Original Assignee
Shanghai 2345 Network 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 Shanghai 2345 Network Technology Co ltd filed Critical Shanghai 2345 Network Technology Co ltd
Priority to CN202010852515.XA priority Critical patent/CN111984868A/en
Publication of CN111984868A publication Critical patent/CN111984868A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9558Details of hyperlinks; Management of linked annotations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

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)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for controlling browsing web pages in a browser, which comprises the following steps: a. determining an optimal acquisition path based on the target URL address, and taking webpage content corresponding to the target URL address corresponding to the optimal acquisition path as a webpage to be displayed; b. loading the webpage to be displayed in the browser; c. judging whether the webpage to be displayed is stored locally; d. and if the webpage to be displayed is not stored locally, the webpage to be displayed is adaptively stored locally. According to the method and the device, the user habit is continuously changed, the adaptability is adjusted according to the user habit, the webpage of the browser can be preferentially stored according to the historical browsing habit of the user and the manual setting of the user, and therefore the browsing page in the browser can be intelligently and quickly prestored and loaded according to the requirement of the user. The invention has simple structure, powerful function, strong practicability and extremely high commercial value.

Description

Method and device for controlling webpage browsing in browser
Technical Field
The invention belongs to the field of mobile internet, and particularly relates to a method and a device for controlling webpage browsing in a browser.
Background
The importance of a browser, which is client software specifically designed to access and browse web pages, is also one of the most widely used software in modern computer systems. From the downloading of resources to the final page display, the rendering process can be simply understood as a combination of linear series connection transformation processes, the original input is a URL address, the final output is a page Bitmap, and the middle of the page Bitmap sequentially passes through a Loader module, a Parser module, a Layout module and a Paint module.
When a browser is used for surfing the internet, a website is firstly input in an address bar, the browser sends a resource request to a server according to the website, the server analyzes the request and transmits relevant data resources back to the browser, and the data resources comprise Page description documents, pictures, JavaScript scripts, CSS and the like. Thereafter, the browser engine decodes, parses, lays out, draws, etc. the data, and finally presents a complete page.
The cache is widely applied to the browser, and plays an important role in improving user experience. In browsers, there are mainly three types of caches: page Cache, Memory Cache, Disk Cache. Page Cache, i.e., Page Cache. The method is used for caching data of a webpage DOM tree, a Render tree and the like accessed by a user. The intent of designing page caches is to provide a smooth page forward, backward browsing experience. Almost all modern browsers support the page caching function, if a browser does not have page caching, when a user clicks a link to access a new page, the memory system occupied by various derived resources, JavaScript objects, DOM tree nodes and the like of the original page is recycled, and when the user clicks a back button to browse the original page, the browser must download related resources from the network again, then perform a series of operations of decoding, analyzing, layout and rendering, and finally present the page for the user, so that the waiting time of the user is increased undoubtedly, the use experience of the user is influenced, and Disk Cache, namely Disk caching, is realized. Modern browsers basically have a disk cache mechanism, in order to improve the use experience of users, the browsers store downloaded resources to a local disk, and when the browsers request the same resources next time, the time for downloading the resources through a network can be saved, and the resources can be directly taken out from the local disk.
However, even in this case, in the actual operation process, due to the continuous change of the user habits and the functional limitation of the disk cache, adaptive adjustment cannot be performed according to the user habits, the user still needs to spend a lot of time waiting for loading the page, and how to implement preferential storage of the web page of the browser according to the historical browsing habits of the user in combination with the manual setting of the user, so that the intelligent implementation of preloading of the browsing page in the browser according to the user requirements becomes a technical problem to be solved urgently at present.
Disclosure of Invention
In view of the technical defects in the prior art, an object of the present invention is to provide a method and an apparatus for controlling web pages browsing in a browser, according to an aspect of the present invention, a method for controlling web pages browsing in a browser is provided, which includes the following steps:
a. determining an optimal acquisition path based on the target URL address, and taking webpage content corresponding to the target URL address corresponding to the optimal acquisition path as a webpage to be displayed;
b. loading the webpage to be displayed in the browser;
c. judging whether the webpage to be displayed is stored locally;
d. and if the webpage to be displayed is not stored locally, the webpage to be displayed is adaptively stored locally.
Preferably, the step a comprises the steps of:
a1. judging whether local webpage content corresponding to the target URL address exists or not;
correspondingly, the step b is as follows:
b1. loading the local web page content in the browser.
Preferably, the step a comprises the steps of:
a1', acquiring a first server corresponding to the target URL address and a busy index of the first server;
a2', acquiring a second server for storing the webpage content corresponding to the target URL address and a busy index of the second server;
a3', comparing the busy index of the first server with the busy index of the second server, and taking the server with lower busy index as the optimal acquisition path between the browser and the server.
Preferably, the following steps are further included after the step b:
c. judging whether the webpage to be displayed is stored locally;
d. and if the webpage to be displayed is not stored locally, the webpage to be displayed is adaptively stored locally.
Preferably, before the step a, the method further comprises the step a': and c, judging whether the browser mode is the optimal browsing mode, if so, executing the step a, and if not, determining the webpage to be displayed according to the common mode.
Preferably, before the step a, the method further comprises the step a': and determining one or more target URL addresses based on the browsing history and browsing habits of the user, and storing one or more to-be-displayed webpages corresponding to the one or more target URL addresses in a local place.
Preferably, the browsing history includes at least: words, websites, URLs, pictures, videos.
Preferably, the browsing habits at least include: browsing history in the block time, set browsing URL.
According to another aspect of the present invention, there is provided a control apparatus for browsing a web page in a browser, including:
a first processing device: determining an optimal acquisition path based on the target URL address, and taking webpage content corresponding to the target URL address corresponding to the optimal acquisition path as a webpage to be displayed;
a second processing device: loading the webpage to be displayed in the browser,
second judging means: judging whether the webpage to be displayed is stored locally;
a fifth processing device: and if the webpage to be displayed is not stored locally, the webpage to be displayed is adaptively stored locally.
Preferably, the first processing means includes first judging means for: judging whether local webpage content corresponding to the target URL address exists or not;
the second processing means includes third processing means: loading the local web page content in the browser.
Preferably, the first processing means includes:
the first acquisition means: acquiring a first server corresponding to the target URL address and a busy index of the first server;
a second acquisition means: acquiring a second server for storing the webpage content corresponding to the target URL address and a busy index of the second server;
a fourth processing device: and comparing the busy index of the first server with the busy index of the second server, and taking the server with a lower busy index as an optimal acquisition path between the browser and the server.
Preferably, the method further comprises the following steps:
a third judging device: and c, judging whether the browser mode is the optimal browsing mode, if so, executing the step a, and if not, determining the webpage to be displayed according to the common mode.
A sixth processing device: one or more target URL addresses are determined based on the browsing history of the user, and one or more webpages to be displayed corresponding to the one or more target URL addresses are stored locally.
The invention discloses a method for controlling browsing web pages in a browser, which comprises the following steps: a. determining an optimal acquisition path based on the target URL address, and taking webpage content corresponding to the target URL address corresponding to the optimal acquisition path as a webpage to be displayed; b. and loading the webpage to be displayed in the browser. According to the method and the device, the user habit is continuously changed, the adaptability is adjusted according to the user habit, the webpage of the browser can be preferentially stored according to the historical browsing habit of the user and the manual setting of the user, and therefore the browsing page in the browser can be intelligently and quickly prestored and loaded according to the requirement of the user. The invention has simple structure, powerful function, strong practicability and extremely high commercial value.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
fig. 1 is a schematic flowchart illustrating a method for controlling browsing of a web page in a browser according to an embodiment of the present invention;
fig. 2 is a schematic specific flowchart illustrating a method for controlling web browsing in a browser according to a first embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a specific process of determining an optimal acquisition path based on a target URL address and using web page content corresponding to the target URL address corresponding to the optimal acquisition path as a web page to be displayed according to a second embodiment of the present invention;
fig. 4 is a schematic flowchart illustrating a method for controlling browsing of a web page in a browser according to a third embodiment of the present invention; and
fig. 5 is a schematic block diagram illustrating a control apparatus for browsing a web page in a browser according to another embodiment of the present invention.
Detailed Description
In order to better and clearly show the technical scheme of the invention, the invention is further described with reference to the attached drawings.
The technical staff in the field understand that, when a user inputs a website or searches through a search engine, the browser can realize target Page display according to a URL, specifically, when the browser is used for surfing the internet, firstly, a website is input in an address bar, the browser can send a resource request to a server according to the website, the server analyzes the request and transmits related data resources back to the browser, and the data resources comprise Page description documents, pictures, JavaScript scripts, CSS and the like. Then, the browser engine will perform operations such as decoding, parsing, typesetting, drawing, and the like on the data, and finally present a complete page, further, in the prior art, the fast loading of the page is often realized through caching, which is mainly applied to operations such as page forward, backward, refreshing, and the like within a certain time period, in such operations, all page information does not need to be reloaded, but the fast loading is realized based on the caching, and some local pages are cached, so that the fast loading of the corresponding page after the browser is closed and then opened can be realized within a certain time period or a specific scene, however, so-called caching cannot realize the selection of a preferred page based on preference setting and user usage habits by a user, and more is to load the display of the last page, and how to realize the local storage of the specific page based on user habits and user preferences, and then when a user opens the browser for searching next time, the target URL of the user can be determined in a targeted manner, purposefully and accurately, and then rapid loading is carried out through the page stored locally in advance, and finally page display of the browser is realized.
Fig. 1 shows a detailed flowchart of a method for controlling web pages browsed in a browser according to a specific embodiment of the present invention, and as a specific embodiment of the present invention, the method for controlling web pages browsed in a browser mainly shows that if an optimal acquisition path is determined, and a web page to be displayed is displayed based on the optimal acquisition path, specifically, the method includes the following steps:
firstly, step S101 is entered, an optimal obtaining path is determined based on a target URL address, and a web content corresponding to the target URL address corresponding to the optimal obtaining path is taken as a web page to be displayed, as understood by those skilled in the art, the optimal obtaining path is determined based on various aspects such as a current browser mode, a browser setting, a configuration of a browser carrier, a setting of a browser carrier, a configuration and a state of a target URL server, and in a preferred embodiment, the mode of the browser includes a fast browsing mode, a power saving mode, a normal mode, and the like, and the optimal obtaining path is different in different modes.
In another embodiment, the setting of the browser may be an intelligent mode, a normal mode, and a user preference mode, and the optimal acquisition path is also different according to different modes, for example, in the intelligent mode, switching and selecting may be performed according to a response speed of a browser kernel to a target URL, a response speed of a server, and the like, in the normal mode, page loading is performed according to a normal loading mode, and in the user preference mode, an optimal acquisition path is determined in consideration of a locally stored page, a user internet access habit, a user setting, and the like, which will be further described in a specific embodiment described later, which is not described herein again.
In another embodiment, the configuration of the browser carrier and the setting of the browser carrier are also an aspect that affects the optimal acquisition path, for example, the browser carrier is usually a computer, and the computer is in a high performance state, a normal state and a power saving mode, even the performance of the kernel of the computer and the memory state of the current kernel of the computer can be used as a reference condition for selecting the optimal acquisition path, further, in the high performance state, the page loading is preferably selected according to the page loading mode of the normal mode, in the power saving mode, the fast loading mode can be selected, under the condition that the performance of the kernel of the computer exceeds a certain threshold, the page loading is selected according to the page loading mode of the normal mode, otherwise, the fast loading mode can be selected, when the memory state of the current kernel of the computer is overloaded, the fast loading mode is selected, if the page loading mode is normal, the page loading mode is selected according to the page loading mode in the normal mode, and as the above embodiment, the rapid loading mode may refer to a specific implementation manner described later, which is not described herein again.
In another preferred embodiment, the configuration and the state of the target URL server may also be used as reference conditions, specifically, when the response speed of the server is slow, a fast loading mode is selected, and when the server can respond fast, a page loading mode according to a normal mode is selected for page loading.
Then, step S102 is executed, the to-be-displayed web page is loaded in the browser, the to-be-displayed web page is a web page required by the user, the to-be-displayed web page is determined mainly based on the page loading mode determined by the optimal obtaining path in step S101, and the to-be-displayed web page may be a picture, a video, various types of websites, a website sub-interface, and the like.
Finally, step S103 to step S104 are executed, and step S103 to step S104 may refer to step S305 to step S306, which will not be described herein again.
Fig. 2 shows a detailed flowchart of a method for controlling browsing of a web page in a browser according to a first embodiment of the present invention, where as the first embodiment of the present invention, fig. 2 mainly shows a control manner for implementing page loading, and specifically, in conjunction with the embodiment shown in fig. 1, fig. 2 is an expression form of the fast mode, and specifically, includes the following steps:
firstly, step S201 is entered, and whether local web content corresponding to the target URL address exists is determined, where the step S201 is a determination step, that is, it is determined whether web content required by a user locally stores web content corresponding to the target URL corresponding to the required web page, if yes, step S202 is executed, and if not, other modes are selected, that is, other optimal acquisition paths are selected to acquire a page to be displayed.
Then, step S202 is performed, and the local web page content is loaded in the browser, in such an embodiment, the browser calls the web page content corresponding to the target URL in the local web page content as a loading item, so that a lot of time is saved, and the operating efficiency of the browser is improved.
Finally, step S203 to step S204 are executed, and step S203 to step S204 may refer to step S305 to step S306, which will not be described herein again.
Fig. 3 shows a specific flowchart of a second embodiment of the present invention, in which an optimal acquisition path is determined based on a target URL address, and a webpage content corresponding to the target URL address corresponding to the optimal acquisition path is used as a webpage to be displayed, and as the second embodiment of the present invention, another implementation manner for determining the optimal acquisition path is shown, further, a specific analysis is performed in combination with a specific situation of a server, specifically, the following steps are included:
firstly, step S1011 is performed to obtain a first server corresponding to the target URL address and a busy index of the first server, and those skilled in the art understand that there may be one or more servers corresponding to the target URL, and when there is only one server, the operation in fig. 3 is not required, and the server may be directly selected, and when there are multiple corresponding servers, a judgment and selection are required, where the busy index is a response speed, a loading speed, an idle index, and the like of the server, and more specifically, the busy index may be specifically analyzed by a speed of receiving data, a time of responding to data, and the like.
Then, step S1012 is performed to obtain a second server storing the web content corresponding to the target URL address and a busy index of the second server, where the second server is different from the first server and can also obtain the web content corresponding to the target URL address, and more specifically, the second server is preferably a local server, that is, a local cache for storing the web page.
As another preferred embodiment of the present invention, there may be a third server, a fourth server, a fifth server, or even more, and in such an embodiment, the response speed between the servers may also be judged by determining the busy index thereof.
Finally, the process proceeds to step S1013, the busy index of the first server and the busy index of the second server are compared, and the server with a low busy index is used as an optimal acquisition path between the browser and the server, in a preferred embodiment, the busy index of the first server is determined to be 80 through data analysis and calculation, and determining the busy index of the second server to be 60 through data analysis, analysis and calculation, a second server with a busy index of 60 is preferably chosen as the optimal acquisition path between the browser and the server, in other embodiments, if there are a third server and a fourth server, the busy indexes corresponding to the third server and the fourth server are determined accordingly, and then selecting the server with the lowest busy index as the optimal acquisition path between the browser and the server.
Fig. 4 shows a detailed flowchart of a method for controlling browsing of a web page in a browser according to a third embodiment of the present invention, which actually shows a most complete implementation manner for determining an optimal acquisition path and determining a web page to be displayed from different paths, and specifically includes the following steps:
firstly, step S301 is entered, whether a browser mode is an optimal browsing mode is determined, if yes, step 303 is executed, if not, a web page to be displayed is determined according to a normal mode, in such an embodiment, the optimal browsing mode is shown in the embodiment of fig. 1, whether a fast mode is preferentially set is determined, and in the fast mode, an optimal acquisition path may be determined according to the mode of fig. 1 and/or fig. 2, as understood by those skilled in the art, step S301 may be a mode selection manually switched by a user, may be a mode selection made by a browser carrier according to a current actual situation, may be a mode selection made by the browser according to a current actual situation, and more specifically, as long as a condition for realizing the optimal browsing mode is satisfied in multiple elements such as the browser carrier, the browser, the fast mode may be turned on, in the fast mode, a page cached by a local disk is preferably used as a page to be displayed, and accordingly, the page to be displayed is determined based on behavior habits and preference selections of a user under multiple elements such as a browser carrier, a browser and a server, that is, which page to be displayed is selected for storage, all needs to be specifically analyzed according to the above conditions.
Then, step S302 is performed, one or more target URL addresses are determined based on the browsing history and browsing habits of the user, and one or more to-be-displayed web pages corresponding to the one or more target URL addresses are stored locally, as understood by those skilled in the art, the browsing history at least includes: in such an embodiment, the words are keywords manually input by the user, for example, search for "epidemic situation", and specific situations about the epidemic situation may occur accordingly, the words may be the keywords searched in the browser, or the words frequently input by the user may be words frequently input by a third party program such as an application program based on an input method, or the words frequently input by the user may be words frequently present in the mobile terminal, or words frequently present in the computer. The web address and URL are input objects, such as www.baidu.com, etc., determined by a user through manual input or through tags, favorites, desktop shortcuts of a website, etc., for directly entering a specific web page, and the pictures and videos may be local pictures and videos, or pictures and videos in a website, and those skilled in the art understand that the words, the web address, the URL, the pictures, and the videos may all be used to achieve the determination of a target URL, and further, since there are multiple ways of determining a target URL address, it may finally be calculated and selected by setting weights, etc., in combination with the search times, duration, etc., of the user, and determine multiple target URL addresses.
Further, the browsing habits at least include: browsing history in a block time, which is browsing history of a user in a certain time period, for example, the user browses the same website continuously for multiple times in two days, for example, the user frequently browses a plurality of websites in similar fields in one month, and the set browsing URL is a browsing URL which is required by the user to browse a plurality of different websites in different time periods according to work needs, hobby needs, and the like of the user, for example, a newsreader needs to browse military news in monday to wednesday, and daily news in thursday to thursday, a special URL can be set based on the habit, so that the browser can locally store a page to be displayed in advance according to different periods, and for example, a student needs to browse the news in education in daytime, and needs to know art knowledge at night, the pages to be displayed in each time period can be stored in advance according to the habits, the pages to be displayed can be stored one hour in advance, and can also be stored 10 minutes in advance, and those skilled in the art understand that the habits and preference settings can be set by the user, and the browser can summarize, plan and calculate according to the behavior habits of the user, which do not affect the technical scheme of the present invention, and are not described herein.
Then, the process proceeds to step S303 and step S304, and step S101 and step S102 or step S201 and step S202 may be referred to in step S303 and step S304.
Next, step S305 is performed to determine whether the web page to be displayed is stored locally, in such an embodiment, before, during or immediately after the user browses the web page to be displayed, the user determines whether the web page to be displayed is stored locally, the purpose of this step is to determine whether the web page to be displayed browsed by the user is stored locally, if so, no operation is required, and if not, step S306 is performed.
Finally, step S306 is executed, if the web page to be displayed is not stored locally, the web page to be displayed is stored locally, or the web page to be displayed is stored physically, or the web page to be displayed is cached, so that the user can quickly respond to and process the web page to be displayed next time or when browsing the corresponding web page.
Fig. 5 is a schematic block connection diagram of a control device for browsing web pages in a browser according to another embodiment of the present invention, where the control device for browsing web pages in a browser adopts the control method described in fig. 1 to 4, and includes a first processing device 1: an optimal obtaining path is determined based on the target URL address, and the web content corresponding to the target URL address corresponding to the optimal obtaining path is used as the web page to be displayed, and the working principle of the first processing device 1 may refer to the step S101, which is not described herein again.
The control device for browsing web pages in the browser further includes a second processing device 2, the web pages to be displayed are loaded in the browser, and the working principle of the second processing device 2 may refer to the step S102, which is not described herein again.
Further, the first processing device 1 includes a first judgment device 11: the first determining device 11 may refer to the step S201 for determining whether there is local web page content corresponding to the target URL address, which is not described herein again.
Further, the second processing device 2 comprises a third processing device 21: the local web content is loaded in the browser, and the working principle of the third processing device 21 may refer to the foregoing step S202, which is not described herein again.
Further, the first processing device 1 comprises a first obtaining device 12: the first server corresponding to the target URL address and the busy index of the first server are obtained, and the working principle of the first obtaining device 12 may refer to the step S1011, which is not described herein again.
Further, the first processing device 1 comprises a second acquisition device 13: the second server storing the web content corresponding to the target URL address and the busy index of the second server are obtained, and the working principle of the second obtaining device 13 may refer to the step S1012, which is not described herein again.
Further, the first processing device 1 comprises a fourth processing device 14: comparing the busy index of the first server with the busy index of the second server, and using the server with a lower busy index as the optimal acquisition path between the browser and the server, the working principle of the fourth processing device 14 may refer to the foregoing step S1013, which is not described herein again.
The control device for browsing web pages in the browser further comprises a second judgment device 3: the second determining device 3 may refer to the step S305 for determining whether the web page to be displayed is stored locally, which is not described herein again.
The control device for browsing web pages in the browser further comprises a fifth processing device 4: if the web page to be displayed is not stored locally, the web page to be displayed is stored locally, and the working principle of the fifth processing device 4 may refer to the step S306, which is not described herein again.
Further, the control device for browsing web pages in the browser further comprises a third determining device 5: determining whether the browser mode is the optimal browsing mode, if so, executing step 303, and if not, determining the web page to be displayed according to the normal mode, where the working principle of the third determining device 5 may refer to the step S301, which is not described herein again.
Further, the control device for browsing web pages in the browser further comprises a sixth processing device 6: determining one or more target URL addresses based on the browsing history of the user, and locally storing one or more to-be-displayed webpages corresponding to the one or more target URL addresses, where the working principle of the sixth processing device 6 may refer to the step S302, which is not described herein again.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes and modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention.

Claims (10)

1. A method for controlling webpage browsing in a browser is characterized by comprising the following steps:
a. determining an optimal acquisition path based on the target URL address, and taking webpage content corresponding to the target URL address corresponding to the optimal acquisition path as a webpage to be displayed;
b. loading the webpage to be displayed in the browser;
c. judging whether the webpage to be displayed is stored locally;
d. and if the webpage to be displayed is not stored locally, the webpage to be displayed is adaptively stored locally.
2. The control method according to claim 1, wherein the step a includes the steps of:
a1. judging whether local webpage content corresponding to the target URL address exists or not;
correspondingly, the step b is as follows:
b1. loading the local web page content in the browser.
3. The control method according to claim 1 or 2, wherein the step a includes the steps of:
a1', acquiring a first server corresponding to the target URL address and a busy index of the first server;
a2', acquiring a second server for storing the webpage content corresponding to the target URL address and a busy index of the second server;
a3', comparing the busy index of the first server with the busy index of the second server, and taking the server with lower busy index as the optimal acquisition path between the browser and the server.
4. The control method according to claim 1, characterized by further comprising, before the step a, a step a': and c, judging whether the browser mode is the optimal browsing mode, if so, executing the step a, and if not, determining the webpage to be displayed according to the common mode.
5. The control method according to claim 1, characterized by further comprising, before said step a, a step a ": and determining one or more target URL addresses based on the browsing history and browsing habits of the user, and storing one or more to-be-displayed webpages corresponding to the one or more target URL addresses in a local place.
6. The control method according to claim 5, wherein the browsing history includes at least: words, websites, URLs, pictures and videos, wherein the browsing habits at least comprise: browsing history in the block time, set browsing URL.
7. A control apparatus for browsing web pages in a browser, which employs the control method according to any one of claims 1 to 6, comprising:
first treatment device (1): determining an optimal acquisition path based on the target URL address, and taking webpage content corresponding to the target URL address corresponding to the optimal acquisition path as a webpage to be displayed;
second treatment device (2): loading the webpage to be displayed in the browser;
second determination means (3): judging whether the webpage to be displayed is stored locally;
fifth processing device (4): and if the webpage to be displayed is not stored locally, the webpage to be displayed is adaptively stored locally.
8. The control device according to claim 7, characterized in that the first processing means (1) comprises first judging means (11): judging whether local webpage content corresponding to the target URL address exists or not;
the second processing device (2) comprises a third processing device (21): loading the local web page content in the browser.
9. The control device according to claim 7, characterized in that the first processing means (1) comprises:
first acquisition means (12): acquiring a first server corresponding to the target URL address and a busy index of the first server;
second acquisition means (13): acquiring a second server for storing the webpage content corresponding to the target URL address and a busy index of the second server;
fourth processing device (14): and comparing the busy index of the first server with the busy index of the second server, and taking the server with a lower busy index as an optimal acquisition path between the browser and the server.
10. The control device according to claim 7, characterized by further comprising:
third judging means (5): and c, judging whether the browser mode is the optimal browsing mode, if so, executing the step a, and if not, determining the webpage to be displayed according to the common mode.
Sixth processing device (6): one or more target URL addresses are determined based on the browsing history of the user, and one or more webpages to be displayed corresponding to the one or more target URL addresses are stored locally.
CN202010852515.XA 2020-08-21 2020-08-21 Method and device for controlling webpage browsing in browser Withdrawn CN111984868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010852515.XA CN111984868A (en) 2020-08-21 2020-08-21 Method and device for controlling webpage browsing in browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010852515.XA CN111984868A (en) 2020-08-21 2020-08-21 Method and device for controlling webpage browsing in browser

Publications (1)

Publication Number Publication Date
CN111984868A true CN111984868A (en) 2020-11-24

Family

ID=73444164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010852515.XA Withdrawn CN111984868A (en) 2020-08-21 2020-08-21 Method and device for controlling webpage browsing in browser

Country Status (1)

Country Link
CN (1) CN111984868A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112395525A (en) * 2020-11-30 2021-02-23 上海二三四五网络科技有限公司 Method and device for controlling webpage browsing in mobile terminal browser
CN114489448A (en) * 2021-12-17 2022-05-13 北京达佳互联信息技术有限公司 Page test display method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591963A (en) * 2011-12-30 2012-07-18 奇智软件(北京)有限公司 Method and device for controlling webpage content loading
CN103825943A (en) * 2014-02-25 2014-05-28 国家电网公司 SCORM standard courseware playing system based on P2P and implementation method thereof
CN104618497A (en) * 2015-02-13 2015-05-13 小米科技有限责任公司 Webpage access method and device
CN104994139A (en) * 2015-06-10 2015-10-21 丁大砾 System capable of quickly responding to high-concurrency network request
CN107426332A (en) * 2017-08-10 2017-12-01 华南理工大学 The load-balancing method and system of a kind of web server cluster
CN108153783A (en) * 2016-12-06 2018-06-12 腾讯科技(北京)有限公司 A kind of method and apparatus of data buffer storage
CN108833996A (en) * 2018-07-03 2018-11-16 湖北大学 Service node selection, update and code rate adaptive approach in distributed DASH system
CN109063142A (en) * 2018-08-06 2018-12-21 网宿科技股份有限公司 Web page resources method for pushing and server

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591963A (en) * 2011-12-30 2012-07-18 奇智软件(北京)有限公司 Method and device for controlling webpage content loading
CN103825943A (en) * 2014-02-25 2014-05-28 国家电网公司 SCORM standard courseware playing system based on P2P and implementation method thereof
CN104618497A (en) * 2015-02-13 2015-05-13 小米科技有限责任公司 Webpage access method and device
CN104994139A (en) * 2015-06-10 2015-10-21 丁大砾 System capable of quickly responding to high-concurrency network request
CN108153783A (en) * 2016-12-06 2018-06-12 腾讯科技(北京)有限公司 A kind of method and apparatus of data buffer storage
CN107426332A (en) * 2017-08-10 2017-12-01 华南理工大学 The load-balancing method and system of a kind of web server cluster
CN108833996A (en) * 2018-07-03 2018-11-16 湖北大学 Service node selection, update and code rate adaptive approach in distributed DASH system
CN109063142A (en) * 2018-08-06 2018-12-21 网宿科技股份有限公司 Web page resources method for pushing and server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112395525A (en) * 2020-11-30 2021-02-23 上海二三四五网络科技有限公司 Method and device for controlling webpage browsing in mobile terminal browser
CN114489448A (en) * 2021-12-17 2022-05-13 北京达佳互联信息技术有限公司 Page test display method, device, equipment and storage medium
CN114489448B (en) * 2021-12-17 2024-03-19 北京达佳互联信息技术有限公司 Page test display method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US9826052B2 (en) Web page content loading control method and device
US8762490B1 (en) Content-facilitated speculative preparation and rendering
US10095663B2 (en) Delivery and display of page previews during page retrieval events
US9503499B1 (en) Concealing latency in display of pages
KR102151457B1 (en) Method and apparatus for reducing page load time in a communication system
US20120060083A1 (en) Method for Use in Association With A Multi-Tab Interpretation and Rendering Function
US8438474B1 (en) Speculative rendering during cache revalidation
US8196052B2 (en) System and method to display a web page as scheduled by a user
US20070208704A1 (en) Packaged mobile search results
US20070067305A1 (en) Display of search results on mobile device browser with background process
US20020124022A1 (en) Method and apparatus for processing web documents using multi-browse function
US10440140B2 (en) Browser cache management
WO2015062416A1 (en) Method and device for loading webpages based onuiwebview components
EP2399209A1 (en) Content access platform and methods and apparatus providing access to internet content for heterogeneous devices
US8788927B2 (en) System and method for displaying web page content
WO2001055897A1 (en) Method and apparatus for processing web documents
CN102769641A (en) Method and system for displaying webpage content by means of self-adaption control
US10423710B2 (en) Browser plug-in with document modification and feedback capability
US20170075865A1 (en) Intelligent rendering of webpages
US12020071B2 (en) Resource pre-fetch using age threshold
CN111984868A (en) Method and device for controlling webpage browsing in browser
US11113455B2 (en) Web page rendering on wireless devices
US10691750B1 (en) Browser configured to efficiently store browsing session state
US20080297521A1 (en) System and method for providing skins for a web page
KR101325195B1 (en) System and method for shortening search performing time and computer readable recording medium thereof

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20201124