CN107193819B - Method and equipment for webpage pre-reading, browser and client equipment - Google Patents

Method and equipment for webpage pre-reading, browser and client equipment Download PDF

Info

Publication number
CN107193819B
CN107193819B CN201610143894.9A CN201610143894A CN107193819B CN 107193819 B CN107193819 B CN 107193819B CN 201610143894 A CN201610143894 A CN 201610143894A CN 107193819 B CN107193819 B CN 107193819B
Authority
CN
China
Prior art keywords
navigation
entry
navigation entry
reading
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610143894.9A
Other languages
Chinese (zh)
Other versions
CN107193819A (en
Inventor
吴伟勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Youshi Technology Co., Ltd
Original Assignee
Alibaba China 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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN201610143894.9A priority Critical patent/CN107193819B/en
Publication of CN107193819A publication Critical patent/CN107193819A/en
Application granted granted Critical
Publication of CN107193819B publication Critical patent/CN107193819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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

Abstract

The invention discloses a method and equipment for webpage pre-reading, a browser and client equipment. The webpage pre-reading method comprises the following steps: detecting a target navigation entry with an update prompt on a webpage; and pre-reading the page of the target navigation entry. According to the embodiment of the invention, the webpage pre-reading speed can be effectively improved, and the method has an obvious effect on social network sites.

Description

Method and equipment for webpage pre-reading, browser and client equipment
Technical Field
The present invention relates to a web page pre-reading technology, and in particular, to a method for pre-reading a web page, a device for pre-reading a web page, a browser, and a client device.
Background
With the increasing popularity and development of mobile terminals, such as cell phones, more and more people use browsers on mobile terminals to access the internet. The web page pre-reading technology is an effective means for accelerating the web page display by the browser to reduce the response time.
The principle of webpage pre-reading is that when a user browses a webpage, in a certain mode, a browser loads one or more webpage addresses quoted on the webpage in advance, and loading and page analysis processing are completed in the background. When the user then triggers the loading of the pre-read page by clicking, the browser can directly perform rendering and display using the parsed DOM tree, thereby accelerating the display of the web page. The basis of web page pre-reading is the prediction of user browsing behavior and/or usage habits. If the prediction is accurate, so that the pre-reading precision or the pre-reading hit rate is high, a good webpage acceleration effect can be achieved, and a user can obviously perceive the effect.
In the prior art, there are several pre-reading methods as follows.
The first way is based on a pre-reading of the keyword list. The browser manages a plurality of pre-read keywords, such as "previous page", "next page", "previous chapter", "next chapter", and the like. When the browser loads a webpage, the browser detects whether a link or a label with the pre-reading keyword exists in the webpage. If such a link or tag is present, a read-ahead process is initiated. This approach works very well for web pages of vertical-type websites, such as novel websites. A novel typically has a plurality of chapters. A user typically reads multiple chapters in succession while reading a novel. In this case, the read-ahead hit rate in this manner would be high.
The second way is to select a subsequent browsing web page with a higher probability based on data analysis of actual data of a plurality of users visiting the website. This approach is typically applied to the top page of some web portals. In this manner, pre-reading is performed on a web page of a particular user based on data of previous accesses of the web page by multiple users. This approach has a low read-ahead hit rate.
Therefore, a new technical solution for webpage pre-reading is needed, in particular to a technical solution for the webpage browsing situation of the social network site.
Disclosure of Invention
The invention aims to provide a new technical scheme for webpage pre-reading.
According to a first aspect of the present invention, there is provided a method for webpage pre-reading, comprising: detecting a target navigation entry with an update prompt on a webpage; and pre-reading the page of the target navigation entry.
Preferably, the method further comprises: after the pre-reading is completed, the updating at the target navigation entrance is prompted through the floating layer.
Preferably, the method further comprises: setting a validity period for the pre-read page, wherein the pre-read page is kept in the validity period.
Preferably, the pre-read page is used for displaying when the user clicking the target navigation entry is detected within the validity period.
Preferably, the method further comprises: and selecting at least one navigation entry from a plurality of navigation entries with updating prompts as the target navigation entry.
Preferably, at least one navigation entry is selected based on the pre-reading weight of the navigation entry.
Preferably, the method further comprises: setting an initial pre-read weight for each navigation entry in the plurality of navigation entries; and when the fact that the user clicks the navigation entry in the plurality of navigation entries is detected, increasing the pre-reading weight of the navigation entry.
Preferably, the method further comprises: providing a configuration file, wherein the configuration file contains configuration information for pre-reading; and storing the configuration file.
Preferably, the hash value of the configuration file is used as the file name of the configuration file, and the method further comprises: when reading the configuration file, verifying the integrity of the configuration file using the file name.
Preferably, the configuration information includes at least one of a navigation entry positioning mode, a navigation entry positioning rule, a navigation entry keyword, a navigation entry updating positioning mode, a navigation entry positioning rule, a navigation entry identification rule, and a navigation entry pre-reading weight.
According to a second aspect of the present invention, there is provided an apparatus for webpage pre-reading, comprising: means for detecting a target navigation entry on a web page having an update prompt; and means for pre-reading a page of the target navigation entry.
Preferably, the device further comprises a means for prompting, by the floating layer, that there is an update at the target navigation portal after the pre-reading is completed.
Preferably, the device further comprises means for setting a validity period for the pre-read page, wherein the pre-read page is maintained during the validity period.
Preferably, in the device, when it is detected that the user clicks the target navigation entry within the validity period, the page read in advance is used for display.
Preferably, the apparatus further comprises means for selecting at least one navigation entry from a plurality of navigation entries with update prompts as the target navigation entry.
Preferably, in the device, at least one navigation entry is selected based on the pre-reading weight of the navigation entry.
Preferably, the apparatus further comprises: means for setting an initial pre-read weight for each of a plurality of navigation entries; and means for increasing a pre-read weight of a navigation entry of the plurality of navigation entries when a user click on the navigation entry is detected.
Preferably, the apparatus further comprises: means for providing a configuration file, wherein the configuration file contains configuration information for pre-reading; and means for storing the configuration file.
Preferably, in the apparatus, a hash value of the profile is used as a file name of the profile, and the apparatus further comprises: means for verifying the integrity of the configuration file using the filename when the configuration file is read.
Preferably, in the device, the configuration information includes at least one of a navigation entry positioning manner, a navigation entry positioning rule, a navigation entry keyword, a navigation entry update positioning manner, a navigation entry positioning rule, a navigation entry identification rule, and a navigation entry pre-reading weight.
According to a third aspect of the present invention, there is provided a browser comprising an apparatus for web page read-ahead according to the present invention, wherein the apparatus is configured to perform read-ahead on a web page in the browser.
According to a fourth aspect of the present invention, there is provided a browser designed to perform the following operations: detecting a target navigation entry with an update prompt on a webpage; and pre-reading the page of the target navigation entry.
According to a fifth aspect of the invention, there is provided a client device comprising a browser according to the invention.
According to a sixth aspect of the present invention, there is provided a client device comprising a memory and a processor, wherein the memory is configured to store instructions for controlling the processor to operate so as to execute the web page pre-reading method according to the present invention.
According to the embodiment of the invention, the webpage pre-reading speed can be effectively improved, and the method has an obvious effect on social network sites.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram of a method for pre-reading a web page according to one embodiment of the invention.
FIG. 2 is a schematic diagram of a browser according to another embodiment of the present invention.
Fig. 3 is a schematic block diagram of a client device according to yet another embodiment of the present invention.
Fig. 4 is a schematic diagram of an example of a web page.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Various embodiments and examples according to the present invention are described below with reference to the accompanying drawings.
When a user browses a webpage through a browser, the webpage can be pre-read through the technical scheme according to the embodiments of the invention. In particular, the present invention is particularly advantageous for use in browsing social-type websites.
The current major social networking websites have several major features. Such as microblogs, bean, bar, Facebook, Twitter, etc.
Firstly, a fixed navigation bar is arranged above a webpage of the website. Typically, the web page has a function page navigation entry. Several prior art navigation portals are exemplarily described below.
1) "home" navigation entry: can be used to view the dynamic information summary of the user himself and the concerned user. Some web sites may have their home page navigation entries provided with an update message prompt, such as Twitter. The prompt may be text or a picture.
2) "friend" navigation entry: can be used to view a buddy list or a buddy list recommended by the system. The navigation portal may have text or picture prompts.
3) "Notification" of the navigation entry: can be used to view the brief dynamics of other users associated with the user that the system transmits. The navigation portal is typically of high real-time. The navigation portal may have text or picture prompts.
4) "message" navigation entry: can be used for viewing the image-text information sent by other users to the user. The navigation portal is typically of high real-time. The navigation portal may have text or picture prompts.
5) "find" navigation entry: the social network site can push personalized information according to the previous browsing information record of the user. The navigation portal may have text or picture prompts.
6) "personal center" navigation portal: the user can browse the information related to the user through the webpage of the navigation entrance. Some social networking websites provide summaries of notifications or messages related to a user on the web page. The navigation portal may have text or picture prompts.
The navigation entries are typically located in a navigation bar. These navigation portals draw attention at locations on the web page and they are the bearing points for the main social functions. Therefore, users often use these navigation portals.
Fig. 4 schematically shows an example of a web page.
In fig. 4, the navigation entries include "home", "find", "personal center", "message", "notification", and "friend". The current web page is displaying the content in the "home" page. There are 2 updates prompted at the "home page", one more at the "message", and 3 at the "notify".
Second, many web site pages have similar navigation entries.
Thirdly, when a website page is obtained, since the social network site needs to capture background data in real time, the time consumption of network side response is usually long. This is due to the social nature and architecture of the website itself.
In addition, the inventors found that the behavior characteristics when the user browses a web page are as follows.
Behavior characteristics one: there is a high probability of switching between the several main navigation entries described above, forming a relatively closed loop of page access paths.
For example, in the example shown in fig. 4, the user often uses several switching paths as follows: "home" - > "message"; "first page" - > "Notification"; "message" - > "notification"; and "notify" - > "message". Such browsing behavior has a certain predictability.
Behavior characteristics II: when a user views specific social information, certain continuity exists. For example, in the example shown in FIG. 4, the user views the web page content in the "home" page, taking Facebook as an example. In this case, the user may view more than three pages of web page content in succession. In this case, the read-ahead process may be performed for a keyword (e.g., "next page") in the "first page" web page. This pre-read process may result in a higher pre-read hit rate
The inventor of the invention researches the characteristics/characteristics and provides a new webpage pre-reading technical scheme aiming at least one of the characteristics/characteristics.
< method >
FIG. 1 shows a flow diagram of a method for webpage pre-reading, according to one embodiment of the invention.
As shown in fig. 1, in step S1100, a target navigation entry having an update prompt on a web page is detected.
Such as "home", "discover", "personal center", "message", "notify", "buddy", etc., as shown in fig. 4.
There may be multiple navigation entries with update hints. As shown in fig. 4, for example, 2 updates are prompted at the "top page", another update is prompted at the "message", and 3 updates are prompted at the "notification".
At least one navigation entry may be selected from the plurality of navigation entries having the update prompt as the target navigation entry. For example, all of the navigation entries with update prompts may be selected, or only one or a few of them may be selected. The navigation entries may be selected randomly or according to their position on the page (left, right, or front, back, etc.).
Preferably, at least one navigation entry is selected based on the pre-reading weight of the navigation entry. The weight of each navigation entry may be set manually. In one example, an initial pre-read weight is set for each of a plurality of navigation entries. When it is detected that the user clicks a navigation entry in the plurality of navigation entries, the pre-reading weight of the navigation entry is increased. In this way, the pre-reading weight of each navigation entry can be dynamically adjusted for a single user according to the specific situation of the user. This may provide personalized read-ahead settings for the user. In addition, in this way, the pre-read hit rate can also be improved to some extent.
In step S1200, a page of the target navigation entry is pre-read.
According to the invention, pre-reading is performed on the navigation entries with the update prompts in the webpage. The update prompt of the navigation entry indicates that new content is in the webpage of the navigation entry. The user will typically be interested in new content. Therefore, the probability that the user clicks and enters the webpage of the navigation entry is relatively high. By performing the read ahead in this manner, the read ahead hit rate can be improved.
In one example, after completing the pre-reading, the update at the target navigation portal is prompted by the floating layer. By the prompt mode, the user can be actively attracted to click the navigation entry and browse the webpage of the navigation entry. This may further improve the read-ahead hit rate.
In another example, a validity period may be set for the pre-read page, wherein the pre-read page is maintained during the validity period. And when the fact that the user clicks the target navigation entry is detected in the validity period, displaying the target navigation entry by using the pre-read page. After the validity period is exceeded, the pre-read page is invalidated. At this time, when it is detected that the user clicks the target navigation entry, the webpage of the navigation entry is read again.
For example, when the user accesses the "home" page in FIG. 4 at 18:00:00, an update prompt appears at the "Notification" navigation portal. The browser reads ahead the page of the "notify" navigation entry and marks that the point in time of expiration of the read ahead page is 18:01:00 (the expiration date is 1 minute). The user then continues to browse the next successive pages in the web page of the home page. The user notices the update at 18:00:38 and clicks on the "Notification" navigation portal. If the validity period has not expired, the browser directly displays the page of the pre-read notification navigation entry without loading the page in real time. This speeds up the display response time of the web page.
In the prior art, when the user does not click on the page to be read ahead to perform other operations, the page to be read ahead may fail. At this time, even if the user clicks the navigation entry immediately thereafter, the browser needs to re-read and load the web page of the navigation entry. This results in a certain waste of resources. In addition, social networking websites typically require some real-time. Information that is too long may change. In this example, by setting the validity period, on the one hand, the web page can be kept during the validity period without reloading (e.g., due to other operations by the user); on the other hand, the real-time performance of the pre-read webpage can be ensured. The validity period may be set in a variety of ways. The validity period is set, for example, based on experience or historical data.
In one example, the user's read-ahead settings (configuration information for read-ahead) are saved for later use. For example, the user's pre-read settings are saved each time the user logs out of the browser. And reading and applying the pre-reading setting when a user opens the browser.
In another example, the above functionality is implemented via a configuration file. For example, a configuration file is provided, wherein the configuration file contains configuration information for pre-reading; and storing the configuration file. The configuration file may be stored locally at the client device or on the network. For example, the configuration information includes at least one of a navigation entry positioning mode, a navigation entry positioning rule, a navigation entry keyword, a navigation entry update positioning mode, a navigation entry positioning rule, a navigation entry identification rule, and a navigation entry pre-reading weight. The following is an example of the format of a configuration file.
Figure BDA0000940386040000081
Figure BDA0000940386040000091
Figure BDA0000940386040000101
When storing configuration files, it may happen that different configuration files have the same file name. For example, multiple users may share a client device and their profiles are stored on the client device; alternatively, the configuration file may be stored on a common server. In this case, the two files may collide. For example, a later file may overwrite a previous file, resulting in data loss.
Furthermore, it may also happen that profiles of the same user have different file names. This may create too much duplicate content on the client device or server and create a junk file that occupies the storage resources of the device or server.
Thus, in another example, optionally, a hash value of the profile is used as the file name of the profile. In this way, the above-mentioned file conflicts and/or junk files can be avoided to a certain extent.
In addition, file corruption often occurs during the transmission and/or use of a file. In some cases, if a browser calls for a corrupted file, it may cause the browser to jam and/or crash.
Thus, in another embodiment, the integrity of the configuration file may also be verified by using the file name when reading the configuration file. In this way, the generation of the above-described problem can be avoided simply by the file name.
The technical scheme of the invention can be applied to browsers, such as mobile phone browsers. By the technical scheme of the invention, the browsing experience of the user can be improved (for example, the page loading is quicker).
< apparatus >
Those skilled in the art will appreciate that in the field of electronics, the above-described methods may be embodied in articles of manufacture by software, hardware, and combinations of software and hardware. The person skilled in the art will easily be able to produce a device for pre-reading web pages based on the method disclosed above. The apparatus comprises: means for detecting a target navigation entry on a web page having an update prompt; and means for pre-reading a page of the target navigation entry.
In one example, the apparatus further comprises means for prompting, by the floating layer, that there is an update at the target navigation portal after the pre-reading is completed.
In another example, the apparatus further comprises means for setting a validity period for the pre-read page.
In another example, the device displays the page read ahead when it is detected that the user clicks the target navigation entry within the validity period.
In another example, the apparatus further comprises means for selecting at least one navigation entry from a plurality of navigation entries having update hints as the target navigation entry.
In another example, at least one of the navigational entries is selected in the device based on a pre-read weight of the navigational entry.
In another example, the apparatus further comprises: means for setting an initial pre-read weight for each of a plurality of navigation entries; and means for increasing a pre-read weight of a navigation entry of the plurality of navigation entries when a user click on the navigation entry is detected.
In another example, the apparatus further comprises: means for providing a configuration file, wherein the configuration file contains configuration information for pre-reading; and means for storing the configuration file.
In another example, in the device, a hash value of the profile is used as a filename of the profile, and the device further comprises: means for verifying the integrity of the configuration file using the filename when the configuration file is read.
In another example, in the device, the configuration information includes at least one of a navigation entry location mode, a navigation entry location rule, a navigation entry keyword, a navigation entry update location mode, a navigation entry location rule, a navigation entry identification rule, and a navigation entry read-ahead weight.
It will be appreciated by those skilled in the art that the above described means may be implemented in various ways. The above-described apparatus may be implemented, for example, by an instruction configuration processor. For example, the apparatus may be implemented by storing instructions in ROM and reading the instructions from ROM into a programmable device when the device is started. For example, the apparatus described above may be cured into a dedicated device (e.g., an ASIC). The above-described means may be divided into units independent of each other or may be implemented by combining them together. The above-described apparatus may be implemented by one of the various implementations described above, or may be implemented by a combination of two or more of the various implementations described above. These embodiments are all equivalent to those skilled in the art.
< browser >
The device for web page read-ahead described above may be a stand-alone device (e.g., an application in a client) or may be integrated into a browser as part of the browser. In this case, the browser can complete the webpage pre-reading process more efficiently. It should be understood by those skilled in the art that as technology develops, the browser may be a separate application, such as an IE browser, Chrome browser, etc., or may also refer to an application that integrates browser functionality, such as a micro blogging application, a wechat application, etc.
FIG. 2 shows a schematic block diagram of a browser according to another embodiment of the present invention.
Generally, a browser can be architecturally divided into two parts, a kernel and a shell. The browser kernel is responsible for interpreting the web page syntax (e.g., HTML, JavaScript) and rendering (displaying) the web page, i.e., the browser parses and renders the web page through the kernel. The browser shell mainly processes the appearance interface and the control experience of the browser. In fig. 2, browser 2000 includes a kernel 2010 and a shell 2020. The browser 2000 further includes a web page pre-reading device 2030. The web page read-ahead device 2030 may be a device for web page read-ahead according to the present invention. Although in fig. 2 the web page pre-read device 2030 is external to the shell 2020 and the kernel 2010 for clarity, it will be understood by those skilled in the art that the web page pre-read device 2030 may be located within the shell 2020 or the kernel 2010.
On the other hand, as is well known to those skilled in the art, with the development of electronic information technology such as large scale integrated circuit technology and the trend of software hardware, it has been difficult to clearly divide the software and hardware boundaries of a computer system. Because any operation can be implemented in software, it can also be implemented by software. Execution of any of the instructions may be performed by hardware, as well as by software. Whether a hardware implementation or a software implementation is employed for a certain machine function depends on non-technical factors such as price, speed, reliability, storage capacity, change period, and the like. Accordingly, it will be apparent to those skilled in the art of electronic information technology that a more direct and clear description of one embodiment is provided by describing the various operations within the embodiment. Knowing the operations to be performed, the skilled person can directly design the desired product based on considerations of said non-technical factors. In this respect, in this embodiment, there is also provided a browser designed to perform the operations of the method according to the invention. For example, the browser is designed to perform the following operations: detecting a target navigation entry with an update prompt on a webpage and pre-reading the page of the target navigation entry.
< client device >
The embodiments of the present invention can be implemented in a client device, so that the client device can complete the webpage pre-reading processing more efficiently.
In one aspect, the client device may be a client device that includes a browser as described above.
In another aspect, FIG. 3 shows a schematic block diagram of a client device in accordance with an embodiment of the invention.
As shown in fig. 3, the client device 3000 may include a processor 3010, a memory 3020, an interface device 3030, a communication device 3040, a display device 3050, an input device 3060, a speaker 3070, a microphone 3080, and so forth.
The processor 3010 may be, for example, a central processing unit CPU, a microprocessor MCU, or the like. The memory 3020 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 3030 includes, for example, a USB interface, a headphone interface, and the like.
The communication device 3040 can perform wired or wireless communication, for example.
The display device 3050 is, for example, a liquid crystal display panel, a touch panel, or the like. The input device 3060 may include, for example, a touch screen, a keyboard, and the like. A user can input/output voice information through the speaker 3070 and the microphone 3080.
The client devices illustrated in fig. 3 are merely illustrative and are in no way intended to limit the present invention, its applications, or uses.
In this embodiment, the memory 3020 is configured to store instructions for controlling the processor 3010 to operate to perform the method for web page pre-reading shown in fig. 1. It should be understood by those skilled in the art that although a plurality of devices are shown in fig. 3, the present invention may only relate to some of the devices, such as the processor 3010 and the storage device 3020. The skilled person can design the instructions according to the disclosed solution. How the instructions control the operation of the processor is well known in the art and will not be described in detail herein.
The technical solution of the present invention can be summarized as follows.
Eeeee 1. a method for web page pre-reading, comprising: detecting a target navigation entry with an update prompt on a webpage; and pre-reading the page of the target navigation entry.
EEEE2. the method according to EEEE1, further comprising: after the pre-reading is completed, the updating at the target navigation entrance is prompted through the floating layer.
Eeeee 3. the method according to EEEE1-2, further comprising: setting a validity period for the pre-read page, wherein the pre-read page is kept in the validity period.
EEEE4. the method according to EEEE1-3, wherein the pre-read page is used for display when it is detected that the user clicks on the target navigation entry within the validity period.
Eeeee 5. the method according to EEEE1-4, further comprising: and selecting at least one navigation entry from a plurality of navigation entries with updating prompts as the target navigation entry.
EEEEE 6. the method according to EEEE1-5, wherein at least one navigation entry is selected based on its pre-reading weight.
Eeeee 7. the method according to EEEE1-6, further comprising: setting an initial pre-read weight for each navigation entry in the plurality of navigation entries; and when the fact that the user clicks the navigation entry in the plurality of navigation entries is detected, increasing the pre-reading weight of the navigation entry.
Eeeeee 8. the method according to EEEE1-7, further comprising: providing a configuration file, wherein the configuration file contains configuration information for pre-reading; and storing the configuration file.
Eeeee 9. the method according to EEEE1-8, wherein a hash value of the profile is used as a file name of the profile, and the method further comprises: when reading the configuration file, verifying the integrity of the configuration file using the file name.
EEEE10. the method according to EEEE1-8, wherein the configuration information comprises at least one of a navigation entry location mode, a navigation entry location rule, a navigation entry keyword, a navigation entry update location mode, a navigation entry location rule, a navigation entry identification rule, and a navigation entry read-ahead weight.
Eeeee 11. an apparatus for web page pre-reading, comprising: means for detecting a target navigation entry on a web page having an update prompt; and means for pre-reading a page of the target navigation entry.
Eeeee 12. the apparatus according to EEEE11, further comprising: and means for prompting an update at the target navigation portal through the floating layer after the pre-reading is completed.
Eeeee 13. the apparatus according to EEEE11-12, further comprising: means for setting a validity period for the pre-read page, wherein the pre-read page is maintained during the validity period.
EEEE14. the device according to EEEE11-13, wherein the pre-read page is used for display when it is detected that the user clicks on the target navigation entry within the validity period.
Eeeee 15. the apparatus according to EEEE 11-14, further comprising: means for selecting at least one navigation entry from a plurality of navigation entries having update hints as the target navigation entry.
EEEE16. the device according to EEEE11-15, wherein at least one navigation entry is selected based on its pre-read weight.
Eeeee 17. the apparatus according to EEEE11-16, further comprising: means for setting an initial pre-read weight for each of a plurality of navigation entries; and means for increasing a pre-read weight of a navigation entry of the plurality of navigation entries when a user click on the navigation entry is detected.
EEEE18. the apparatus according to EEEE11-17, further comprising: means for providing a configuration file, wherein the configuration file contains configuration information for pre-reading; and means for storing the configuration file.
EEEE19. the device according to EEEE11-18, wherein a hash value of the configuration file is used as a filename of the configuration file, and the device further comprises: means for verifying the integrity of the configuration file using the filename when the configuration file is read.
Eee20. the apparatus according to EEEE11-19, wherein the configuration information comprises at least one of a navigation entry location mode, a navigation entry location rule, a navigation entry keyword, a navigation entry update location mode, a navigation entry location rule, a navigation entry identification rule, and a navigation entry read-ahead weight.
EEEE21. a browser comprising a device for web page pre-reading according to EEEE11-20, wherein the device is adapted to perform pre-reading of a web page in the browser.
Eeeee 22. a browser designed to perform the following operations: detecting a target navigation entry with an update prompt on a webpage; and pre-reading the page of the target navigation entry.
EEEE23. a client device comprising a browser according to EEEE21 or EEEE22.
EEEE24. a client device comprising a memory and a processor, wherein the memory is adapted to store instructions for controlling the processor to operate to perform the method according to EEEE 1-10.
The present invention may be an apparatus, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied therewith for causing a processor to implement various aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present invention may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smal ltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (18)

1. A method for web page pre-reading, comprising:
detecting a target navigation entry with an update prompt on a webpage; and
pre-reading a page of the target navigation entry;
further comprising:
setting an initial pre-read weight for each navigation entry in the plurality of navigation entries;
when detecting that a user clicks a navigation entry in the plurality of navigation entries, increasing the pre-reading weight of the navigation entry;
and selecting at least one navigation entry from the plurality of navigation entries with the update prompt as the target navigation entry based on the pre-reading weight of the navigation entry.
2. The method of claim 1, further comprising:
after the pre-reading is completed, the updating at the target navigation entrance is prompted through the floating layer.
3. The method of claim 1, further comprising:
setting a validity period for the pre-read page, wherein the pre-read page is kept in the validity period.
4. The method of claim 3, wherein the pre-read page is used for display when it is detected that the user clicks on the target navigation entry within the validity period.
5. The method of claim 1, further comprising:
providing a configuration file, wherein the configuration file contains configuration information for pre-reading; and
and storing the configuration file.
6. The method of claim 5, wherein a hash value of the configuration file is used as a filename of the configuration file, and the method further comprises:
when reading the configuration file, verifying the integrity of the configuration file using the file name.
7. The method of claim 5, wherein the configuration information comprises at least one of a navigation entry location mode, a navigation entry location rule, a navigation entry keyword, a navigation entry update location mode, a navigation entry location rule, a navigation entry identification rule, and a navigation entry read-ahead weight.
8. An apparatus for web page pre-reading, comprising:
means for detecting a target navigation entry on a web page having an update prompt; and
means for pre-reading a page of the target navigation entry;
further comprising:
means for setting an initial pre-read weight for each of a plurality of navigation entries; and
means for increasing a pre-read weight of a navigation entry of the plurality of navigation entries when a user click on the navigation entry is detected;
means for selecting at least one navigation entry from a plurality of navigation entries having update hints as the target navigation entry based on a pre-read weight of the navigation entry.
9. The apparatus of claim 8, further comprising:
and means for prompting an update at the target navigation portal through the floating layer after the pre-reading is completed.
10. The apparatus of claim 8, further comprising:
means for setting a validity period for the pre-read page, wherein the pre-read page is maintained during the validity period.
11. The device of claim 10, wherein the pre-read page is used for display when a user click on the target navigation entry is detected within the validity period.
12. The apparatus of claim 8, further comprising:
means for providing a configuration file, wherein the configuration file contains configuration information for pre-reading; and
means for storing the configuration file.
13. The apparatus of claim 12, wherein a hash value of the configuration file is used as a filename of the configuration file, and the apparatus further comprises:
means for verifying the integrity of the configuration file using the filename when the configuration file is read.
14. The device of claim 12, wherein the configuration information includes at least one of a navigation entry location mode, a navigation entry location rule, a navigation entry keyword, a navigation entry update location mode, a navigation entry location rule, a navigation entry identification rule, and a navigation entry read-ahead weight.
15. A browser comprising an apparatus for web page read-ahead according to claim 8, wherein the apparatus is configured to perform read-ahead on a web page in the browser.
16. A browser designed to perform the following operations:
detecting a target navigation entry with an update prompt on a webpage; and
pre-reading a page of the target navigation entry;
further comprising:
setting an initial pre-read weight for each navigation entry in the plurality of navigation entries;
when detecting that a user clicks a navigation entry in the plurality of navigation entries, increasing the pre-reading weight of the navigation entry;
and selecting at least one navigation entry from the plurality of navigation entries with the update prompt as the target navigation entry based on the pre-reading weight of the navigation entry.
17. A client device comprising a browser according to claim 15 or 16.
18. A client device comprising a memory and a processor, wherein the memory is to store instructions to control the processor to operate to perform the method of claim 1.
CN201610143894.9A 2016-03-14 2016-03-14 Method and equipment for webpage pre-reading, browser and client equipment Active CN107193819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610143894.9A CN107193819B (en) 2016-03-14 2016-03-14 Method and equipment for webpage pre-reading, browser and client equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610143894.9A CN107193819B (en) 2016-03-14 2016-03-14 Method and equipment for webpage pre-reading, browser and client equipment

Publications (2)

Publication Number Publication Date
CN107193819A CN107193819A (en) 2017-09-22
CN107193819B true CN107193819B (en) 2021-01-26

Family

ID=59871526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610143894.9A Active CN107193819B (en) 2016-03-14 2016-03-14 Method and equipment for webpage pre-reading, browser and client equipment

Country Status (1)

Country Link
CN (1) CN107193819B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943825A (en) * 2017-10-19 2018-04-20 阿里巴巴集团控股有限公司 Data processing method, device and the electronic equipment of page access
CN111782101B (en) * 2020-07-08 2022-02-25 网易(杭州)网络有限公司 Display control method of live broadcast room, electronic device and storage medium
CN113504952A (en) * 2021-07-22 2021-10-15 沈阳知友网络科技有限公司 System and method for dynamically loading and updating page content

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8909739B2 (en) * 2001-01-29 2014-12-09 Universal Electronics Inc. System and method for upgrading the remote control functionality of a device
CN101977238A (en) * 2010-11-11 2011-02-16 北京开心人信息技术有限公司 Method and system for prompting friend content updating
CN102737037A (en) * 2011-04-07 2012-10-17 北京搜狗科技发展有限公司 Webpage pre-reading method, device and browser
CN102222086B (en) * 2011-05-18 2014-11-26 广州市动景计算机科技有限公司 Webpage viewing method and webpage viewing device based on mobile terminal as well as mobile terminal
WO2013097107A1 (en) * 2011-12-28 2013-07-04 广州市动景计算机科技有限公司 Webpage pre-reading method, webpage pre-reading device, browser and mobile terminal
CN103530295B (en) * 2012-07-05 2018-12-07 腾讯科技(深圳)有限公司 Webpage pre-head method and device
CN103810176B (en) * 2012-11-07 2018-01-05 腾讯科技(深圳)有限公司 A kind of info web prefetches access method and device
CN103246713B (en) * 2013-04-24 2016-05-11 优视科技有限公司 A kind of Web browser method and device
CN103412949B (en) * 2013-08-28 2017-10-10 贝壳网际(北京)安全技术有限公司 Updating method and device of browser navigation page and client

Also Published As

Publication number Publication date
CN107193819A (en) 2017-09-22

Similar Documents

Publication Publication Date Title
CA2787816C (en) Share box for endorsements
US20170371974A1 (en) Method for loading webpage, client and programmable device
US9736143B2 (en) Customized log-in experience
CN107819845B (en) Light application pushing method and device and server
WO2018106974A1 (en) Content validation and coding for search engine optimization
US9436772B2 (en) Appending a uniform resource identifier (URI) fragment identifier to a uniform resource locator (URL)
US10055096B2 (en) Continuous reading of articles
US9087020B1 (en) Managing and retrieving content from a shared storage
US20140282032A1 (en) Dynamically configuring user experiences with action uniform resource identifiers
US11360640B2 (en) Method, device and browser for presenting recommended news, and electronic device
RU2610245C2 (en) Method and device for web page encode identification
US8903931B1 (en) Methods for generating e-mail message interfaces
WO2013090128A1 (en) Display dialogs
CN105955593B (en) Method and device for presenting discussion information
US20180011933A1 (en) Method, apparatus, and server for generating hotspot content
CN107193819B (en) Method and equipment for webpage pre-reading, browser and client equipment
CN108449255B (en) Comment interaction method and equipment, client device and electronic equipment
US20160205057A1 (en) Apparatus and method for providing connections to contacts based on associations with content
US20150205767A1 (en) Link appearance formatting based on target content
WO2014117072A1 (en) Systems and methods for semantic url handling
US20170153798A1 (en) Changing context and behavior of a ui component
JP2013137654A (en) In-vehicle communication service utilization system and in-vehicle communication service utilization method
CN107918552B (en) Light application calling method and device, client device and electronic equipment
US20170277422A1 (en) Method, application, browser, and electronic device for providing webpage content
WO2014200583A2 (en) Displaying socially sourced content

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200526

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping B radio 14 floor tower square

Applicant before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211110

Address after: 100192 A706, 7 / F, block a, building B-6, Zhongguancun Dongsheng science and Technology Park, No. 66, xixiaokou Road, Haidian District, Beijing

Patentee after: Youshi Technology Co., Ltd

Address before: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou, Zhejiang

Patentee before: Alibaba (China) Co., Ltd