Web page content processing method, computing device and computer storage medium

By embedding plug-ins in the browser, detecting the user's operation of adding web pages to bookshelf, and displaying web page description information on the bookshelf page, solving the problem of too long favorites and quickly finding and viewing favorite web page content.

CN113010814BActive Publication Date: 2025-04-11ZHANGYUE TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110301514.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-22
Publication Date
2025-04-11
Estimated Expiration
2041-03-22

AI Technical Summary

Technical Problem

After the user has collected multiple web links, the favorites list becomes too long and complicated, making it difficult to find the required web links.

Method used

By embedding plugins in your browser, you can detect the user's actions to add web page content to the bookshelf, obtain web page links and description information, and add book elements to the bookshelf page to display this information.

Benefits of technology

Users can find and view favorites without accessing their browser's favorites. The book elements on the bookshelf page are concise and orderly, improving the convenience of content search.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113010814B_ABST
    Figure CN113010814B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for processing web page content, a computing device, and a computer storage medium. The method is implemented based on a plug-in embedded in a browser, and the method includes: detecting a trigger operation performed by a user to add web page content to a bookshelf; in response to the trigger operation, obtaining a web page link of the web page content, and obtaining description information of the web page content according to the web page link; adding a book element for linking to the web page content to the bookshelf page, and the book element displays the description information of the web page content. In the above manner, after the user performs the trigger operation of adding to the bookshelf, a book element for linking to the web page content and displaying the description information of the web page content is added to the bookshelf page, so that the user does not need to go to the browser favorites to find the web page link he wants to view, but only needs to enter the bookshelf page to conveniently and quickly find the book element of interest, and then view the corresponding web page content, which provides convenience for users to view the collected web page content.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet technology, and in particular to a web page content processing method, a computing device and a computer storage medium. Background Art

[0002] A browser is an application used to retrieve, display, and transmit Web information resources. Web information resources are marked by uniform resource identifiers. They are a web page, a picture, a video, or any content presented on the Web. Users can browse interrelated information through a browser.

[0003] In the prior art, when a user browses a web page using a browser, if the user is interested in the content of the web page, the user will perform an operation of adding the web page link to the favorites, thereby adding the web page link to the favorites, so that the user can find the web page link he wants to view from the favorites later.

[0004] However, the inventors found in the process of implementing the present invention that in the method of adding web links to favorites, when a user has favorited multiple web links, the favorites list will be very long and complicated, making it inconvenient for the user to find the web links they want to view. Summary of the invention

[0005] In view of the above problems, the present invention is proposed to provide a method for processing web page content, a computing device and a computer storage medium that overcome the above problems or at least partially solve the above problems.

[0006] According to one aspect of the present invention, a method for processing webpage content is provided. The method is implemented based on a plug-in embedded in a browser, and the method comprises:

[0007] detecting a triggering operation performed by a user for adding web page content to a bookshelf;

[0008] In response to a trigger operation for adding webpage content to a bookshelf, obtaining a webpage link of the webpage content, and obtaining description information of the webpage content according to the webpage link;

[0009] A new book element is added to the bookshelf page to link to the web page content. The book element displays the description information of the web page content.

[0010] According to another aspect of the present invention, there is provided a computing device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;

[0011] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following operations:

[0012] detecting a triggering operation performed by a user for adding web page content to a bookshelf;

[0013] In response to a trigger operation for adding webpage content to a bookshelf, obtaining a webpage link of the webpage content, and obtaining description information of the webpage content according to the webpage link;

[0014] A new book element is added to the bookshelf page to link to the web page content. The book element displays the description information of the web page content.

[0015] According to another aspect of the present invention, a computer storage medium is provided, wherein the storage medium stores at least one executable instruction, and the executable instruction enables a processor to perform the following operations:

[0016] detecting a triggering operation performed by a user for adding web page content to a bookshelf;

[0017] In response to a trigger operation for adding webpage content to a bookshelf, obtaining a webpage link of the webpage content, and obtaining description information of the webpage content according to the webpage link;

[0018] A new book element is added to the bookshelf page to link to the web page content. The book element displays the description information of the web page content.

[0019] According to the web page content processing method, computing device and computer storage medium of the present invention, the method is implemented based on a plug-in embedded in a browser, and detects a trigger operation performed by a user for adding web page content to a bookshelf; in response to the trigger operation for adding web page content to a bookshelf, a web page link of the web page content is obtained, and description information of the web page content is obtained according to the web page link; a book element for linking to the web page content is added to the bookshelf page, and the book element displays description information of the web page content. In the above manner, after the user performs the trigger operation for adding web page content to a bookshelf, a book element for linking to the web page content and displaying description information of the web page content is added to the bookshelf page, so that the user does not need to go to the browser's favorites to find the web page link he wants to view, but only needs to enter the bookshelf page to conveniently and quickly find the book element of interest, so that the corresponding web page content can be viewed, which provides convenience for users to view the collected web page content.

[0020] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0022] Figure 1 A flowchart showing a method for processing webpage content provided by an embodiment of the present invention is shown;

[0023] Figure 2 A flowchart showing a method for processing webpage content provided by another embodiment of the present invention is shown;

[0024] Figure 3 A flowchart showing a method for processing webpage content provided by another embodiment of the present invention is shown;

[0025] Figure 4a A schematic diagram of a browser bookmark in the prior art is shown;

[0026] Figure 4b A schematic diagram of a bookshelf page in an embodiment of the present invention is shown;

[0027] Figure 5 A schematic diagram of the structure of a computing device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0028] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.

[0029] Figure 1 A flowchart of a method for processing webpage content provided by an embodiment of the present invention is shown. The method is implemented based on a plug-in embedded in a browser. Figure 1 As shown, the method comprises the following steps:

[0030] Step S110, detecting a trigger operation performed by a user to add web page content to a bookshelf.

[0031] The webpage content refers to the specific content contained in the webpage, or can be understood as the content to be displayed on the webpage. For example, for a picture webpage, its webpage content mainly includes multiple pictures, and for a novel webpage, its webpage content mainly includes a number of words.

[0032] The user performs a trigger operation in the operation interface for adding web page content to a bookshelf, such as clicking an Add to Bookshelf button in the operation interface.

[0033] Step S120, in response to a trigger operation for adding web page content to a bookshelf, obtaining a web page link of the web page content, and obtaining description information of the web page content according to the web page link.

[0034] After detecting a trigger operation for adding web page content to a bookshelf, a web link corresponding to the web page content is obtained. The web link carries description information of the web page content. The description information is key information describing the web page content, such as news content keywords of a news web page, novel keywords of a novel web page, etc. The description information of the web page content is extracted from the web link.

[0035] Step S130: Add a book element for linking to the web page content in the bookshelf page, and the book element displays description information of the web page content.

[0036] Adding a book element to the bookshelf page for linking to web page content is equivalent to creating a new link relationship between the book element and the web page content, and the book element displays the description information of the web page content, which means that the book element can jump to display the web page content it links to when triggered by certain behaviors.

[0037] It can be seen that, unlike the method of adding a web link to favorites, the method of this embodiment is equivalent to collecting the web page content to a bookshelf, and displaying the description information of the web page content through book elements on the bookshelf page. Users only need to enter the bookshelf page to easily and quickly find the book elements of interest, and then quickly view the corresponding web page content (that is, the collected web page content).

[0038] According to the method for processing web page content of the present embodiment, the method is implemented based on a plug-in embedded in a browser, and detects a trigger operation performed by a user for adding web page content to a bookshelf; in response to the trigger operation, a web page link of the web page content is obtained, and description information of the web page content is obtained according to the web page link; a book element for linking to the web page content is added to the bookshelf page, and the book element displays description information of the web page content. In the above manner, after the user performs a trigger operation for adding web page content to a bookshelf, a book element for linking to the web page content and displaying description information of the web page content is added to the bookshelf page, so that the user does not need to go to the browser's favorites to find the web page link he wants to view, but only needs to enter the bookshelf page to conveniently and quickly find the book element of interest, so that the corresponding web page content can be viewed, which provides convenience for users to view the collected web page content.

[0039] Figure 2A flowchart of a method for processing webpage content provided by another embodiment of the present invention is shown. The method is implemented based on a plug-in embedded in a browser. Figure 2 As shown, the method comprises the following steps:

[0040] Step S210, parse and obtain the content type of the web page, and determine whether the condition for adding a bookshelf is met according to the content type of the web page.

[0041] In this embodiment, the entry for activating the function of adding web page content to books is not always displayed, but whether to display the function entry is determined according to the content type of the web page. Specifically, it is determined whether the condition for adding to the bookshelf is met according to the content type of the web page, that is, whether the web page content is suitable for being added to the bookshelf. If the judgment result is yes, the function entry is displayed.

[0042] The reason for making this judgment in this embodiment is that in actual applications, some types of web pages are not suitable for adding to bookshelves. For example, for web pages whose content is mainly pictures or videos, if they are added to bookshelves, when the user enters the bookshelf page and triggers the corresponding book element, whether the web page picture linked to the book element is rendered into a reading page for display, or the web page is directly jumped to display, it takes a lot of computing resources and network resources, and there is not much improvement in the user experience. Therefore, the web page content of the picture web page and the web page content of the video web page are not suitable for adding to the bookshelf. Based on this, it is determined whether to display the function entrance according to the content type of the web page to avoid users adding web page content that is not suitable for adding to the bookshelf (such as pictures, videos, etc. contained in the web page) to the bookshelf, resulting in poor viewing experience and waste of resources later.

[0043] Optionally, the content type of the web page is obtained by parsing the web page link of the web page and / or by parsing the web page content of the web page. Optionally, if the content type of the web page is a text type, it is determined that the condition for adding to the bookshelf is met. For example, web pages with a high text ratio, such as novel web pages and text news web pages, all meet the condition for adding to the bookshelf.

[0044] Optionally, the web page content can be downloaded locally via a web page link, and can be downloaded locally via a web page link after determining that the condition for adding a bookshelf is met and before detecting the user's triggering operation on the function entrance. By downloading the web page content to the local, when the user views the linked web page content by triggering the book element in the subsequent process, the display efficiency of the web page content can be improved. Of course, the solution of the present invention is not limited to this.

[0045] Step S220: If the condition for adding a bookshelf is met, a function entrance is presented so that the user can activate the function for adding the web page content to the bookshelf through the function entrance.

[0046] If it is determined that the condition for adding the bookshelf is met, a function entrance is presented to the user, so that the user can activate the function for adding the web page content to the bookshelf through the function entrance. Optionally, the function entrance is presented in the web page interface, or the function entrance is presented through a pop-up window, and the function entrance is presented as an add to bookshelf button, which is not limited in the present invention.

[0047] In an optional manner, if the condition for adding a bookshelf is not met, the function entrance is not presented. If the user has a need to collect a web page, a collection operation on the web page is performed, and in response to the user's collection operation on the web page, the web page link of the web page is added to the browser's favorites list.

[0048] In an optional manner, if the condition for adding to a bookshelf is not met, the above function entry is still displayed, and in response to a triggering operation on the function entry, the webpage link of the webpage is added to the favorites list of the browser. In this manner, when the webpage content is not suitable for adding to a bookshelf, the Add to Bookshelf button is still displayed, but unlike the case where the condition for adding to a bookshelf is met, when the user clicks the button, the operation of adding the webpage link of the webpage to the browser favorites is performed.

[0049] Step S230: detecting a trigger operation performed by the user to add the webpage content to the bookshelf.

[0050] When the user clicks the Add to Bookshelf button displayed in the interface, a trigger operation for adding the web page content to the bookshelf is executed.

[0051] Step S240, in response to a trigger operation for adding web page content to a bookshelf, obtaining a web page link of the web page content, and obtaining description information of the web page content according to the web page link.

[0052] After detecting a trigger operation for adding web page content to a bookshelf, a web link corresponding to the web page content is obtained. The web link carries description information of the web page content. The description information is key information describing the web page content, such as news content keywords of a news web page, novel keywords of a novel web page, etc. The description information of the web page content is extracted from the web link.

[0053] Step S250: Add a book element for linking to the web page content in the bookshelf page, and the book element displays description information of the web page content.

[0054] Adding a book element to the bookshelf page for linking to web page content is equivalent to creating a new link relationship between the book element and the web page content, and the book element displays the description information of the web page content, which means that the book element can jump to display the web page content it links to when triggered by certain behaviors.

[0055] Step S260, in response to the user's triggering operation on any book element in the bookshelf page, displaying the webpage content linked to the book element.

[0056] When a user triggers any book element in the bookshelf page, the webpage content linked to by the book element is displayed in response to the user's triggering operation.

[0057] It can be seen that in the method of this embodiment, whether the web page content is suitable for being added to the bookshelf is determined according to the content type of the web page, and then the function entrance for adding the web page content to the bookshelf is displayed, so as to avoid the problem that the user adds the web page content that is not suitable for adding to the bookshelf to the bookshelf, resulting in poor viewing experience and waste of resources in the later stage; secondly, the description information of the web page content is displayed through the book element in the bookshelf page, and the book element can be linked to the specific web page content. In the subsequent process, when the user views the collected web pages, he goes to the bookshelf to find the corresponding book element, instead of looking for the web page link in the browser favorites list, so that the user does not need to go to the browser favorites to find the web page link he wants to view, but only needs to enter the bookshelf page to conveniently and quickly find the book element of interest, and then view the web page content to which it links by triggering the book element, which provides convenience for the user to view the collected web page content.

[0058] Figure 3 A flowchart of a method for processing webpage content provided by another embodiment of the present invention is shown. The method is implemented based on a plug-in embedded in a browser. Figure 3 As shown, the method comprises the following steps:

[0059] Step S310, detecting a user's triggering operation of entering a reading mode on a web page displayed by a browser.

[0060] The browser presents web content in web browsing mode. In web browsing mode, users can only swipe up and down to browse the context of the current location, and the user's browsing progress will not be recorded. The reading mode is different from the web browsing mode. In reading mode, users can perform page turning operations to switch the displayed reading page, and the user's reading progress can be recorded. Of course, the differences between web browsing mode and reading mode are not limited to this, and they are not listed here one by one.

[0061] The web page displayed by the browser presents an entrance to the reading mode. By triggering the entrance to the reading mode, the web browsing mode can be switched to the reading mode. Optionally, the entrance to the reading mode is not always displayed, but whether to display it is determined based on the content contained in the web page. Specifically: the content type of the web page is parsed, and according to the content type of the web page, it is determined whether to display the entrance to the reading mode. For example, for a web page whose content is mainly text, rendering its text content into a reading page for display (i.e. switching to reading mode) can bring an immersive in-depth reading experience to the user. For a web page whose content is mainly pictures, there is no need to render the picture content into a reading page for display. In this way, whether to display the entrance to the reading mode is determined based on the content of the web page, so as to avoid presenting the entrance to the reading mode in web pages such as picture web pages and video web pages whose web content is not suitable for display in reading mode.

[0062] Specifically, if the content type of the webpage is text type, an entry to enter the reading mode is displayed. Statistics are performed on the webpage content of the webpage, and the size and / or quantity of text resources and / or other resources are respectively counted. If the size and / or quantity of the text resources meet the preset requirements, the content type of the webpage is determined to be text type. For example, if the proportion of the number of texts exceeds 90%, it means that the webpage content is mainly text, and an entry to enter the reading mode is displayed to trigger switching to the reading mode, so that the user can read a webpage with more text like reading an e-book.

[0063] Further, the website type of the webpage is obtained, and if the website type is a novel type, the content type of the webpage is determined to be a text type. That is, by detecting the website type, if the website type is a novel type, it can be directly determined that the content type of the webpage is a text type, and an entrance to enter the reading mode is exposed in the text type webpage.

[0064] Step S320, in response to the triggering operation of entering the reading mode, downloading the webpage content according to the webpage link of the webpage.

[0065] If it is detected that the user clicks on the entry to enter the reading mode displayed on the webpage, that is, the trigger operation of entering the reading mode performed by the user is detected, then in response to the trigger operation of entering the reading mode, the webpage content is downloaded through the webpage link of the webpage. For example, for a novel webpage, the downloaded webpage content is the novel TXT file.

[0066] Step S330, using the reading engine to typeset the downloaded web page content, and displaying each reading page obtained by typeset through the reader.

[0067] Among them, the plug-in embedded in the browser can be regarded as a reduced version of the reading application, and its functions are equivalent to those of the reading application, and it can provide functions such as reading and finding books. After downloading the web page content, the plug-in calls the reading engine to typeset the downloaded web page content, and the typesetting generates multiple reading pages, and each reading page obtained by the typesetting is displayed through the reader. Through the above steps, the web page content is imported into the reader for display, that is, for the same web page content, the web page display mode is switched to the reading page display mode in the reader. For users, it is a switch from browsing the web to reading e-books.

[0068] In addition, like the reading application, the plug-in can also respond to the operations performed by the user in the reading page. On the one hand, in response to the page turning operation performed by the user in any reading page, the page turning processing of the reading page is performed. The page turning operation is used to display the next reading page or the previous reading page of the current reading page. For example, the sliding gesture operation from left to right is used to display the previous reading page of the current reading page, and the sliding gesture operation from right to left is used to display the next reading page of the current reading page. The present invention does not limit the specific form of the page turning operation; on the other hand, in response to the user's reading format setting operation in any reading page, the reading format of each reading page is changed. For example, the user can open the reading format setting menu and choose to set the reading format, such as adjusting the line spacing, character size, background color, display mode, etc. of the reading page. After detecting the reading format setting operation performed by the user, the reading format of the reading page is changed. The operation performed by the user in the reading page that the plug-in can respond to is not limited to the above-mentioned page turning operation and reading format setting operation. Those skilled in the art can also set it according to actual needs.

[0069] Step S340, detecting a trigger operation performed by the user in any reading page to add web page content to a bookshelf.

[0070] The reading page displays an entry for activating the function of adding web page content to the bookshelf. If it is detected that the user clicks on the function entry, the function of adding web page content to the bookshelf is activated.

[0071] Step S350, in response to a trigger operation for adding web page content to a bookshelf, obtaining a web page link of the web page content, and obtaining description information of the web page content according to the web page link.

[0072] After detecting a trigger operation for adding web page content to a bookshelf, a web page link corresponding to the web page content is obtained, and the web page link carries description information of the web page content, which is key information describing the web page content. For example, for a novel website, the description information carried in the web page link usually includes key information related to the novel, such as the book name, the author's name, and the book chapter.

[0073] Step S360: Add a book element in the bookshelf page for linking to a reading page corresponding to the web page content. The book element displays description information of the web page content.

[0074] The book element may be a predetermined shape with a predetermined size, for example, a quadrilateral with a length and a width, and the description information of the extracted webpage content is displayed in the book element.

[0075] Figure 4a A schematic diagram of a browser bookmark in the prior art is shown. Figure 4b A schematic diagram of a bookshelf page in an embodiment of the present invention is shown. As can be seen from the figure, compared with the favorites list, the arrangement of book elements in the bookshelf page is more concise and orderly, and the description information of the web page content is also displayed. Users can find the book elements they want to view more quickly and conveniently, and then view the corresponding web page content.

[0076] Optionally, the target reading page is determined based on the reading page that detects the trigger operation for adding the web page content to the bookshelf, and a book element for linking to the target reading page is added to the bookshelf page. Among them, the reading page that detects the trigger operation is the reading page reached by the user's reading progress, and the target reading page can be the reading page that detects the trigger operation or its previous reading page or its next reading page. Therefore, in this method, the book element is linked to the reading page corresponding to the user's current reading progress. When the user triggers the book element, the displayed reading page can continue with the user's reading progress, ensuring the continuity of reading. In the method of adding favorites, the content saved to the favorites is a web link, and the user's browsing progress will not be recorded. Assuming that the user only browses half of the web page content, the next time the web link is opened through the favorites, the user will first see the front part of the web page content, and needs to slide to reach the previous browsing position.

[0077] Step S370, in response to the user's triggering operation on any book element in the bookshelf page, displaying the reading page linked to the book element.

[0078] When a user triggers any book element in a bookshelf page, the reading page to which the book element links is displayed in response to the user's triggering operation.

[0079] Step S380: updating the web page content and reading page linked to the book element in the bookshelf page according to the user's reading progress information of the web page content.

[0080] As the user continues to read, the user's reading progress on the web page content will also change, and the plug-in can record the user's reading progress information. In order to ensure the continuity of reading, the web page content and reading page linked to the book element are updated according to the user's reading progress on the web page content, so as to ensure that each time the book element is triggered, the network content contained in the displayed reading page can continue to connect with the user's reading progress.

[0081] Optionally, if the reading progress information indicates that the user has finished reading the downloaded web page content, the target web page content related to the downloaded web page content is obtained, and the web page content linked to the book element is updated to the target web page content. For example, for a web novel, each chapter of the novel is made into a web page. Then, using the method of this embodiment, the novel content is also downloaded chapter by chapter. Assuming that the web page content currently linked to the book element is the fifth chapter of the novel, when the user has finished reading the novel web page content of the downloaded fifth chapter, it is queried whether there is a novel web page of the sixth chapter. If so, the novel web page content of the sixth chapter is downloaded, and the web page content linked to the book element is updated to the novel web page content of the sixth chapter. When the user triggers the book element next time, the content of the sixth chapter of the novel is displayed. Through the above method, the web page content linked to the book element can be automatically updated according to the user's reading progress. When used in a novel web page, all the chapters of the novel can be read through a book element, which ensures the continuity of reading and provides convenience for users. In the prior art, after the user finishes reading the novel content of a chapter, it is also necessary to find the web page link of the next chapter of the novel, which destroys the reading continuity.

[0082] According to the method for processing web page content provided by the present embodiment, the method is implemented based on a plug-in embedded in a browser. First, by providing an entry to enter the reading mode in the web page displayed by the browser, the user can switch to the reading mode by triggering the entry, and by judging the content type of the web page, it is determined whether to display the entry to enter the reading mode based on the content type, thereby being able to expose the entry to enter the reading mode to the user in a web page whose content is suitable for display as a reading page; secondly, after the user triggers the entry into the reading mode, the web page content of the web page is downloaded, and the web page content is typeset into a reading page for display, thereby realizing the reading mode display of the web page content and improving the user's experience of browsing the web page content; furthermore, by performing a trigger operation in the reading page, the user can A book element is added to the bookshelf page, which is linked to the reading page corresponding to the web page content, and the book element displays the description information of the web page content. Compared with the method of adding to favorites, the method of adding to bookshelf collection in this embodiment is more convenient for users to find the web page content they want to view; in addition, the plug-in can locally record the user's reading progress of the web page content, and update the web page content linked to the book element according to the user's reading progress, so that each time the user triggers the book element, the displayed web page content can continue with the user's reading progress, thereby ensuring the continuity of reading. However, in the method of adding to favorites, the user's browsing progress of the web page content cannot be recorded. When the user clicks the web link in the favorites, the user first sees the front part of the web page content, and the continuity of reading cannot be guaranteed.

[0083] An embodiment of the present invention provides a non-volatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the webpage content processing method in any of the above method embodiments.

[0084] The executable instructions may be specifically used to cause the processor to perform the following operations:

[0085] detecting a triggering operation performed by a user for adding web page content to a bookshelf;

[0086] In response to a trigger operation for adding webpage content to a bookshelf, obtaining a webpage link of the webpage content, and obtaining description information of the webpage content according to the webpage link;

[0087] A new book element is added to the bookshelf page to link to the web page content. The book element displays the description information of the web page content.

[0088] In an optional manner, the executable instruction causes the processor to perform the following operations:

[0089] Parse and obtain the content type of the web page;

[0090] Determine whether the conditions for adding a bookshelf are met based on the content type of the web page;

[0091] If so, a function entrance is presented, so that the user can activate the function for adding the web page content to the bookshelf through the function entrance.

[0092] In an optional manner, the web page content is downloaded locally via a web page link.

[0093] In an optional manner, the executable instruction causes the processor to perform the following operations:

[0094] In response to a user's triggering operation on any book element in the bookshelf page, the webpage content linked to by the book element is displayed.

[0095] In an optional manner, the executable instruction causes the processor to perform the following operations:

[0096] The reading engine is used to typeset the web page content, and the various reading pages obtained by typeset are displayed through the reader.

[0097] In an optional manner, the executable instruction causes the processor to perform the following operations:

[0098] According to the user's reading progress information of the web page content, the web page content linked to the book element in the bookshelf page is updated.

[0099] In an optional manner, the executable instruction causes the processor to perform the following operations:

[0100] Detecting a user's triggering operation of entering a reading mode on a web page displayed by a browser;

[0101] In response to a trigger operation of entering a reading mode, web page content is downloaded according to a web page link of the web page.

[0102] In an optional manner, the executable instruction causes the processor to perform the following operations:

[0103] Downloading web page content according to the web page link of the web page, using the reading engine to format the downloaded web page content, and displaying each reading page obtained by the formatting through the reader;

[0104] Detect the trigger operation performed by the user on any reading page to add the web page content to the bookshelf.

[0105] In an optional manner, the executable instruction causes the processor to perform the following operations:

[0106] If the content type of the webpage is text type, it is determined that the condition for adding a bookshelf is met.

[0107] In an optional manner, the executable instruction causes the processor to perform the following operations:

[0108] The website type of the webpage is obtained. If the website type is a novel type, the content type of the webpage is determined to be a text type.

[0109] Through the above method, after the user executes the trigger operation for adding web page content to the bookshelf, a book element is added to the bookshelf page for linking to the web page content and displaying the description information of the web page content, so that the user does not need to go to the browser's favorites to find the web page link he wants to view, but only needs to enter the bookshelf page to easily and quickly find the book element of interest, so that he can view the corresponding web page content, which provides convenience for users to view the collected web page content.

[0110] Figure 5 A schematic diagram of the structure of an embodiment of a computing device of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the computing device.

[0111] like Figure 5 As shown, the computing device may include: a processor (processor) 502 , a communications interface (Communications Interface) 504 , a memory (memory) 506 , and a communication bus 508 .

[0112] The processor 502, the communication interface 504, and the memory 506 communicate with each other via the communication bus 508. The communication interface 504 is used to communicate with other devices such as a client or other server network elements. The processor 502 is used to execute the program 510, which can specifically execute the relevant steps in the above-mentioned embodiment of the method for processing webpage content of the computing device.

[0113] Specifically, the program 510 may include program codes, which include computer operation instructions.

[0114] The processor 502 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0115] The memory 506 is used to store the program 510. The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0116] The program 510 may be specifically configured to enable the processor 502 to perform the following operations:

[0117] detecting a triggering operation performed by a user for adding web page content to a bookshelf;

[0118] In response to a trigger operation for adding webpage content to a bookshelf, obtaining a webpage link of the webpage content, and obtaining description information of the webpage content according to the webpage link;

[0119] A new book element is added to the bookshelf page to link to the web page content. The book element displays the description information of the web page content.

[0120] In an optional manner, the program 510 enables the processor 502 to perform the following operations:

[0121] Parse and obtain the content type of the web page;

[0122] Determine whether the conditions for adding a bookshelf are met based on the content type of the web page;

[0123] If so, a function entrance is presented, so that the user can activate the function for adding the web page content to the bookshelf through the function entrance.

[0124] In an optional manner, the web page content is downloaded locally via a web page link.

[0125] In an optional manner, the program 510 enables the processor 502 to perform the following operations:

[0126] In response to a user's triggering operation on any book element in the bookshelf page, the webpage content linked to by the book element is displayed.

[0127] In an optional manner, the program 510 enables the processor 502 to perform the following operations:

[0128] The reading engine is used to typeset the web page content, and the various reading pages obtained by typeset are displayed through the reader.

[0129] In an optional manner, the program 510 enables the processor 502 to perform the following operations:

[0130] According to the user's reading progress information of the web page content, the web page content linked to the book element in the bookshelf page is updated.

[0131] In an optional manner, the program 510 enables the processor 502 to perform the following operations:

[0132] Detecting a user's triggering operation of entering a reading mode on a web page displayed by a browser;

[0133] In response to a trigger operation of entering a reading mode, web page content is downloaded according to a web page link of the web page.

[0134] In an optional manner, the program 510 enables the processor 502 to perform the following operations:

[0135] After downloading the webpage content according to the webpage link of the webpage, the downloaded webpage content is typeset using the reading engine, and each reading page obtained by the typeset is displayed through the reader;

[0136] Detect the trigger operation performed by the user on any reading page to add the web page content to the bookshelf.

[0137] In an optional manner, the program 510 enables the processor 502 to perform the following operations:

[0138] If the content type of the webpage is text type, it is determined that the condition for adding a bookshelf is met.

[0139] In an optional manner, the program 510 enables the processor 502 to perform the following operations:

[0140] The website type of the webpage is obtained. If the website type is a novel type, the content type of the webpage is determined to be a text type.

[0141] Through the above method, after the user executes the trigger operation for adding web page content to the bookshelf, a book element is added to the bookshelf page for linking to the web page content and displaying the description information of the web page content, so that the user does not need to go to the browser's favorites to find the web page link he wants to view, but only needs to enter the bookshelf page to easily and quickly find the book element of interest, so that he can view the corresponding web page content, which provides convenience for users to view the collected web page content.

[0142] The algorithm or display provided herein is not inherently related to any particular computer, virtual system or other equipment. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the embodiment of the present invention is not directed to any specific programming language yet. It should be understood that various programming languages ​​can be utilized to realize the content of the present invention described herein, and the description made to specific languages ​​above is for disclosing the best mode of the present invention.

[0143] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0144] Similarly, it should be understood that in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: that the claimed invention requires more features than the features explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.

[0145] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0146] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.

[0147] The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components according to the embodiments of the present invention. The present invention may also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form. It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be constructed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several means, several of these means may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limiting the order of execution.

Claims

1. A method for processing webpage content, characterized in that: The method is implemented based on a plug-in embedded in a browser, and the method includes: detecting a triggering operation performed by a user for adding web page content to a bookshelf; The trigger operation includes: a user clicking on an add to bookshelf button in a web page interface; the trigger operation also includes: a trigger operation performed by a user in any reading page to add web page content to a bookshelf, the reading page being obtained by typesetting the downloaded web page content, the web page content being downloaded in response to a trigger operation for entering a reading mode; whether to display the add to bookshelf button or the entrance to the reading mode is determined according to the content type of the web page; In response to the triggering operation for adding the webpage content to the bookshelf, obtaining a webpage link of the webpage content, and obtaining description information of the webpage content according to the webpage link; A book element for linking to the web page content is added to the bookshelf page, and the book element displays description information of the web page content.

2. The method according to claim 1, wherein: The webpage content is downloaded locally via the webpage link.

3. The method according to claim 1, wherein: The method further comprises: In response to a user's triggering operation on any book element in the bookshelf page, the webpage content linked to by the book element is displayed.

4. The method according to claim 3, wherein: The display of the webpage content linked to the book element further includes: The web page content is typeset using a reading engine, and each reading page obtained by typeset is displayed through a reader.

5. The method according to claim 1, wherein: The method further comprises: The web page content linked to the book element in the bookshelf page is updated according to the user's reading progress information of the web page content.

6. The method according to claim 1, wherein: The method further comprises: Detecting a user triggering operation of entering a reading mode on a web page displayed by the browser; In response to the triggering operation of entering the reading mode, web page content is downloaded according to the web page link of the web page.

7. The method according to claim 6, wherein: After downloading the webpage content according to the webpage link of the webpage, the method further comprises: The downloaded web page content is typeset using a reading engine, and the various reading pages obtained by typeset are displayed through a reader.

8. The method according to claim 1, wherein: If the content type of the webpage is text type, the add to bookshelf button or the entrance to enter the reading mode is displayed.

9. The method according to claim 8, wherein: The method further comprises: The website type of the webpage is obtained. If the website type is a novel type, it is determined that the content type of the webpage is a text type.

10. A computing device, characterized in that include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following operations: detecting a triggering operation performed by a user for adding web page content to a bookshelf; The trigger operation includes: a user clicking on an add to bookshelf button in a web page interface; the trigger operation also includes: a trigger operation performed by a user in any reading page to add web page content to a bookshelf, the reading page being obtained by typesetting the downloaded web page content, the web page content being downloaded in response to a trigger operation for entering a reading mode; whether to display the add to bookshelf button or the entrance to the reading mode is determined according to the content type of the web page; In response to the triggering operation for adding the webpage content to the bookshelf, obtaining a webpage link of the webpage content, and obtaining description information of the webpage content according to the webpage link; Adding a book element for linking to the webpage content in the bookshelf page, wherein the book element displays description information of the webpage content; The above operations are implemented based on a plug-in embedded in the browser.

11. The computing device of claim 10, wherein: The webpage content is downloaded locally via the webpage link.

12. The computing device of claim 10, wherein the executable instructions further cause the processor to: In response to a user's triggering operation on any book element in the bookshelf page, the webpage content linked to by the book element is displayed.

13. The computing device of claim 12, wherein the executable instructions further cause the processor to: The web page content is typeset using a reading engine, and each reading page obtained by typeset is displayed through a reader.

14. The computing device of claim 10, wherein the executable instructions further cause the processor to: The web page content linked to the book element in the bookshelf page is updated according to the user's reading progress information of the web page content.

15. The computing device of claim 10, wherein the executable instructions further cause the processor to: Detecting a user triggering operation of entering a reading mode on a web page displayed by the browser; In response to the triggering operation of entering the reading mode, web page content is downloaded according to the web page link of the web page.

16. The computing device of claim 15, wherein the executable instructions further cause the processor to: The downloaded web page content is typeset using a reading engine, and the various reading pages obtained by typeset are displayed through a reader.

17. The computing device of claim 10, wherein the executable instructions further cause the processor to: If the content type of the webpage is text type, the add to bookshelf button or the entrance to enter the reading mode is displayed.

18. The computing device of claim 17, wherein the executable instructions further cause the processor to: The website type of the webpage is obtained. If the website type is a novel type, it is determined that the content type of the webpage is a text type.

19. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to execute an operation corresponding to the method for processing web page content as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Method for converting webpage into electronic book, electronic equipment and storage medium

    CN109558123A