CN113010814A - Webpage content processing method, computing device and computer storage medium - Google Patents

Webpage content processing method, computing device and computer storage medium Download PDF

Info

Publication number
CN113010814A
CN113010814A CN202110301514.0A CN202110301514A CN113010814A CN 113010814 A CN113010814 A CN 113010814A CN 202110301514 A CN202110301514 A CN 202110301514A CN 113010814 A CN113010814 A CN 113010814A
Authority
CN
China
Prior art keywords
webpage
content
bookshelf
user
webpage content
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.)
Pending
Application number
CN202110301514.0A
Other languages
Chinese (zh)
Inventor
张宝全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ireader Technology Co Ltd
Original Assignee
Ireader Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ireader Technology Co Ltd filed Critical Ireader Technology Co Ltd
Priority to CN202110301514.0A priority Critical patent/CN113010814A/en
Publication of CN113010814A publication Critical patent/CN113010814A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a processing method of webpage content, a computing device and a computer storage medium, wherein the method is realized based on a plug-in embedded in a browser, and comprises the following steps: detecting a trigger operation executed by a user and used for adding webpage content to a bookshelf; responding to the trigger operation, acquiring a webpage link of the webpage content, and acquiring description information of the webpage content according to the webpage link; book elements for linking to webpage contents are newly added in the pages of the bookshelf, and the book elements display description information of the webpage contents. Through the mode, after the user executes the bookshelf adding triggering operation, the book elements which are used for being linked to the webpage content and display the webpage content description information are newly added in the bookshelf pages, so that the user does not need to go to the browser favorite to search the webpage links to be checked, the user can conveniently and quickly search the interested book elements only by entering the bookshelf pages, the corresponding webpage content is checked, and convenience is provided for the user to check the collected webpage content.

Description

Webpage content processing method, computing device and computer storage medium
Technical Field
The invention relates to the technical field of internet, in particular to a webpage content processing method, a computing device and a computer storage medium.
Background
Browsers are application programs used to retrieve, present, and deliver Web information resources. The Web information resource is marked by a uniform resource identifier, and is a Web page, a picture, a video or any content presented on the Web, and a user can browse the information related to each other through a browser.
In the prior art, when a user browses a web page using a browser, if the content of the web page is interested, an operation of adding a web page link to a favorite is executed, so that the web page link to be viewed is subsequently found from the favorite.
However, the inventor finds out in the process of implementing the invention that: in the mode of adding the web page links to the favorites, when a user collects a plurality of web page links, a favorite list is very long and complicated, and the user cannot conveniently find the web page links which the user wants to view.
Disclosure of Invention
In view of the above, the present invention has been made to provide a method, a computing device and a computer storage medium for processing web content that overcome or at least partially solve the above-mentioned problems.
According to one aspect of the present invention, a method for processing web page content is provided, the method is implemented based on a plug-in embedded in a browser, and the method includes:
detecting a trigger operation executed by a user and used for adding webpage content to a bookshelf;
responding to a trigger operation for adding the webpage content to the bookshelf, acquiring a webpage link of the webpage content, and acquiring description information of the webpage content according to the webpage link;
book elements for linking to webpage contents are newly added in the pages of the bookshelf, and the book elements display description information of the webpage contents.
According to yet another aspect of the present invention, there is provided a computing device comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
detecting a trigger operation executed by a user and used for adding webpage content to a bookshelf;
responding to a trigger operation for adding the webpage content to the bookshelf, acquiring a webpage link of the webpage content, and acquiring description information of the webpage content according to the webpage link;
book elements for linking to webpage contents are newly added in the pages of the bookshelf, and the book elements display description information of the webpage contents.
According to yet another aspect of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to:
detecting a trigger operation executed by a user and used for adding webpage content to a bookshelf;
responding to a trigger operation for adding the webpage content to the bookshelf, acquiring a webpage link of the webpage content, and acquiring description information of the webpage content according to the webpage link;
book elements for linking to webpage contents are newly added in the pages of the bookshelf, and the book elements display description information of the webpage contents.
According to the webpage content processing method, the computing equipment and the computer storage medium, the method is realized on the basis of the plug-in embedded in the browser, and the triggering operation executed by a user and used for adding the webpage content to the bookshelf is detected; responding to a trigger operation for adding the webpage content to the bookshelf, acquiring a webpage link of the webpage content, and acquiring description information of the webpage content according to the webpage link; book elements for linking to webpage contents are newly added in the pages of the bookshelf, and the book elements display description information of the webpage contents. Through the mode, after the user executes the triggering operation for adding the webpage content into the bookshelf, the book elements which are used for being linked to the webpage content and display the webpage content description information are newly added in the bookshelf pages, so that the user does not need to go to the favorite of the browser to search the webpage links to be checked, the user can conveniently and quickly search the interested book elements only by entering the bookshelf pages, the corresponding webpage content can be checked, and convenience is provided for the user to check the collected webpage content.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a method for processing web page content according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a method for processing web page content according to another embodiment of the invention;
FIG. 3 is a flow chart illustrating a method for processing web page content according to another embodiment of the invention;
FIG. 4a illustrates a schematic diagram of a browser favorite in the prior art;
FIG. 4b shows a schematic view of a bookshelf page in an embodiment of the invention;
fig. 5 is a schematic structural diagram of a computing device provided by an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 is a flowchart illustrating a method for processing web page content according to an embodiment of the present invention, where the method is implemented based on a plug-in embedded in a browser, and as shown in fig. 1, the method includes the following steps:
step S110, detecting a trigger operation executed by a user for adding webpage content to a bookshelf.
The web page content refers to specific content contained in a web page, or may be understood as content to be displayed by the web page, for example, for a picture web page, the web page content mainly includes a plurality of pictures, and for a novel web page, the web page content mainly includes a plurality of characters.
And the user executes a trigger operation for adding the webpage content to the bookshelf in the operation interface, such as clicking a bookshelf adding button in the operation interface.
Step S120, responding to the trigger operation for adding the webpage content to the bookshelf, acquiring the webpage link of the webpage content, and acquiring the description information of the webpage content according to the webpage link.
After a trigger operation for adding the webpage content to the bookshelf is detected, a webpage link corresponding to the webpage content is obtained, the webpage link carries description information of the webpage content, the description information is key information for describing the webpage content, such as news content keywords of a news webpage, novel keywords of a novel webpage and the like, and the description information of the webpage content is extracted from the webpage link.
Step S130, adding a book element for linking to the webpage content in the bookshelf page, where the book element displays the description information of the webpage content.
Book elements for linking to webpage contents are newly added in the bookshelf pages, namely, the link relation between the book elements and the webpage contents is newly established, and the book elements display the description information of the webpage contents, so that the book elements can skip to display the webpage contents linked by the book elements under the triggering of certain behaviors.
It can be seen that, different from a mode of adding a webpage link to a favorite, the mode of the embodiment is equivalent to collecting webpage content to a bookshelf, and the description information of the webpage content is displayed in the bookshelf page through the book elements, so that a user can conveniently and quickly find interesting book elements by entering the bookshelf page, and further quickly view corresponding webpage content (i.e. the collected webpage content).
According to the webpage content processing method, the webpage content processing method is realized based on the plug-in embedded in the browser, and the triggering operation executed by a user and used for adding the webpage content to the bookshelf is detected; responding to the trigger operation, acquiring a webpage link of the webpage content, and acquiring description information of the webpage content according to the webpage link; book elements for linking to webpage contents are newly added in the pages of the bookshelf, and the book elements display description information of the webpage contents. Through the mode, after the user executes the triggering operation for adding the webpage content to the bookshelf, the book elements which are used for being linked to the webpage content and display the webpage content description information are added in the bookshelf pages, so that the user does not need to go to the favorite of the browser to search the webpage links to be checked, the user can conveniently and quickly search the interested book elements only by entering the bookshelf pages, the corresponding webpage content can be checked, and convenience is provided for the user to check the collected webpage content.
Fig. 2 is a flowchart illustrating a method for processing web page content according to another embodiment of the present invention, where the method is implemented based on a plug-in embedded in a browser, and as shown in fig. 2, the method includes the following steps:
and step S210, analyzing the content type of the obtained webpage, and judging whether the bookshelf adding condition is met or not according to the content type of the webpage.
In this embodiment, the entry for activating the function of adding the web page content to the book is not always presented, but whether the function entry is presented or not is determined according to the content type of the web page. Specifically, whether a bookshelf adding condition is met or not is judged according to the content type of the webpage, namely whether the webpage content is suitable to be added into a bookshelf or not is judged, and the function entry is displayed under the condition that the judgment result is yes.
The reason for this determination in this embodiment is that: in practical applications, some types of web pages are not suitable for being collected in a bookshelf, for example, for a web page whose web page content is mainly a picture or a video, if the web page is collected in the bookshelf, when a user enters a bookshelf page and triggers a corresponding book element, no matter 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, much computing resources and network resources are consumed, and the use experience of the user is not greatly improved, so that the web page content of the picture web page and the web page content of the video web page are not suitable for being added to the bookshelf. Based on the method, whether the function entrance is displayed or not is determined according to the content type of the webpage, and the problems that the later viewing experience is poor and resources are wasted due to the fact that a user adds webpage content (such as pictures, videos and the like contained in the webpage) which is not suitable for being added to the bookshelf are avoided.
Optionally, the content type of the web page is obtained by analyzing a web page link of the web page and/or by analyzing web page content of the web page. Optionally, if the content type of the webpage is a character type, it is determined that the bookshelf adding condition is satisfied. For example, the web pages with higher text proportion, such as novel web pages, text news web pages and the like, all meet the condition of adding the bookshelf.
Optionally, the webpage content may be downloaded locally through a webpage link, and after the condition of adding the bookshelf is judged to be met, the webpage content is downloaded locally through the webpage link before the triggering operation of the user on the function entry is detected, and by downloading the webpage content locally, the display efficiency of the webpage content can be improved when the user checks the linked webpage content through triggering the book element in the subsequent process. Of course, the invention is not limited thereto.
And step S220, if the bookshelf adding condition is met, presenting a function entrance for activating a function for adding the webpage content to the bookshelf through the function entrance by the user.
And if the condition of adding the bookshelf is judged to be met, presenting the function entrance to the user so that the user can activate the function for adding the webpage content to the bookshelf through the function entrance. Optionally, a function entry is presented in the web interface, or a function entry is presented through a pop-up window, and the function entry is presented as an add bookshelf button, which is not limited in the present invention.
In an alternative approach, if the add bookshelf condition is not met, no functional portal is presented. And if the user has a demand for collecting the webpage, executing a webpage collecting operation, and adding the webpage link of the webpage to a favorite list of the browser in response to the webpage collecting operation of the user.
In an alternative mode, if the condition of adding the bookshelf is not met, the function entry is still displayed, and the webpage link of the webpage is added to the favorite list of the browser in response to the triggering operation of the function entry. In this way, the add bookshelf button is still displayed when the webpage content is not suitable for being added to the bookshelf, but the button is clicked by the user at the time, and the operation of adding the webpage link of the webpage to the browser favorite is executed.
In step S230, a trigger operation performed by the user for adding the web page content to the bookshelf is detected.
And clicking a bookshelf adding button displayed in the interface by the user, namely executing the trigger operation for adding the webpage content to the bookshelf.
Step S240, in response to the trigger operation for adding the web page content to the bookshelf, acquiring a web page link of the web page content, and acquiring description information of the web page content according to the web page link.
After a trigger operation for adding the webpage content to the bookshelf is detected, a webpage link corresponding to the webpage content is obtained, the webpage link carries description information of the webpage content, the description information is key information for describing the webpage content, such as news content keywords of a news webpage, novel keywords of a novel webpage and the like, and the description information of the webpage content is extracted from the webpage link.
Step S250, adding a book element for linking to the webpage content in the bookshelf page, where the book element displays the description information of the webpage content.
Book elements for linking to webpage contents are newly added in the bookshelf pages, namely, the link relation between the book elements and the webpage contents is newly established, and the book elements display the description information of the webpage contents, so that the book elements can skip to display the webpage contents linked by the book elements under the triggering of certain behaviors.
Step S260, in response to a triggering operation of a user on any book element in the bookshelf page, displaying the webpage content linked to the book element.
When a user triggers any book element in the bookshelf page, the webpage content linked with the book element is displayed in response to the triggering operation of the user.
Therefore, in the mode of the embodiment, whether the webpage content is suitable to be added to the bookshelf is judged according to the content type of the webpage, and then a function entrance for adding the webpage content to the bookshelf is displayed, so that the problems of poor later-stage viewing experience and resource waste caused by the fact that a user adds the webpage content which is not suitable to be added to the bookshelf are solved; secondly, the description information of the webpage content is displayed through the book elements in the bookshelf pages, the book elements can be linked to the specific webpage content, in the subsequent process, when a user views the collected webpage, the user searches the corresponding book elements in the bookshelf instead of searching the webpage links in the browser favorite list, so that the user does not need to search the webpage links to be viewed from the browser favorite, the interested book elements can be conveniently and quickly searched only by entering the bookshelf pages, the book elements are triggered to view the webpage content linked with the book elements, and convenience is brought to the user for viewing the collected webpage content.
Fig. 3 is a flowchart illustrating a method for processing web page content according to another embodiment of the present invention, where the method is implemented based on a plug-in embedded in a browser, and as shown in fig. 3, the method includes the following steps:
step S310, detecting the reading mode entering triggering operation of the webpage displayed by the browser by the user.
The browser presents the webpage content in a webpage browsing mode, and a user can only slide up and down to browse the context of the current position in the webpage browsing mode without recording the browsing progress of the user. The reading mode is different from the web browsing mode, and in the reading mode, a user can execute page turning operation to switch the displayed reading page and can record the reading progress of the user. Of course, the difference between the web browsing mode and the reading mode is not limited thereto, and is not listed here.
The web page displayed by the browser has an entrance for entering the reading mode, and the web page browsing mode can be switched to the reading mode by triggering the entrance for entering the reading mode. Alternatively, the entry into the reading mode is not always presented, but is determined whether to present or not according to the content contained in the web page. Specifically, the method comprises the following steps: analyzing to obtain the content type of the webpage, and determining whether to display an entrance entering a reading mode according to the content type of the webpage. For example, for a web page whose web page contents are mainly characters, rendering the text contents into a reading page for display (i.e., switching to a reading mode) can bring an immersive deep reading experience to a user, and for a web page whose web page contents are mainly pictures, rendering the picture contents into the reading page for display is not required. By the method, whether the entrance entering the reading mode is displayed or not is determined based on the webpage content, and the entrance entering the reading mode is prevented from being displayed in webpages unsuitable for being displayed in the reading mode, such as picture webpages and video webpages.
Specifically, if the content type of the web page is a text type, an entry for entering the reading mode is displayed. The method comprises the steps of counting webpage contents of a webpage, respectively counting the size and/or the number of text resources and/or other resources, determining that the content type of the webpage is the text type if the size and/or the number of the text resources meet preset requirements, for example, if the proportion of the number of the text exceeds 90%, indicating that the webpage contents are mainly the text, displaying an entry entering a reading mode so as to trigger switching to the reading mode, and enabling a user to read the webpage with more text like reading an electronic book.
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 character 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 web page is a text type, and an entry for entering the reading mode is exposed in the text type web page.
In step S320, in response to the operation triggered by entering the reading mode, the web page content is downloaded according to the web page link of the web page.
And if the fact that the user clicks an entrance for entering the reading mode displayed in the webpage is detected, namely the fact that the user executes the triggering operation for entering the reading mode is detected, responding to the triggering operation for entering the reading mode, and downloading webpage content through a webpage link of the webpage. For example, for a novel web page, the downloaded web page content is a novel TXT file.
And step S330, typesetting the downloaded webpage content by using the reading engine, and displaying each read page obtained by typesetting through the reader.
The plug-in embedded in the browser can be regarded as a reduced version of reading application, the function of the plug-in is equivalent to that of the reading application, and the plug-in can provide functions of reading, finding books and the like. After downloading the webpage content, calling a reading engine by the plug-in to typeset the downloaded webpage content, typesetting to generate a plurality of reading pages, and displaying each reading page obtained by typesetting through a reader. Through the steps, the webpage content is led into the reader to be displayed, namely the webpage display mode is switched into the display mode of the reading page in the reader aiming at the same webpage content, and for a user, the webpage browsing mode is switched into the reading electronic book.
In addition, the plug-in can respond to an operation performed by the user in reading a page, as in the reading application. In one aspect, page turning processing of a reading page is performed in response to a page turning operation performed by a user in any reading page. The page turning operation is used for displaying a next reading page or a previous reading page of the current reading page, for example, the left-to-right sliding gesture operation is used for displaying the previous reading page of the current reading page, and the right-to-left sliding gesture operation is used for displaying the next reading page of the current reading page, and the specific form of the page turning operation is not limited in the invention; on the other hand, in response to a reading format setting operation of the user in any reading page, the reading format of each reading page is changed, for example, the user may open a reading format setting menu, select to set the reading format, such as adjusting line spacing, character size, background color, display mode, and the like of the reading page, and after detecting the reading format setting operation performed by the user, the reading format of the reading page is changed. The operation executed by the user in reading the page to which the plug-in can respond is not limited to the page turning operation and the reading format setting operation, and the operation can be set by a person skilled in the art according to actual needs.
Step S340, detecting a trigger operation performed by the user in any reading page for adding the web page content to the bookshelf.
And displaying an entrance for activating the function of adding the webpage content to the bookshelf in the reading page, and activating the function for adding the webpage content to the bookshelf if detecting that the user clicks the function entrance.
Step S350, responding to the trigger operation for adding the webpage content to the bookshelf, acquiring the webpage link of the webpage content, and acquiring the description information of the webpage content according to the webpage link.
After a trigger operation for adding the webpage content to the bookshelf is detected, a webpage link corresponding to the webpage content is obtained, wherein the webpage link carries description information of the webpage content, and the description information is key information for describing the webpage 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 book name, author name, book chapter, etc.
Step S360, adding book elements for linking to the reading pages corresponding to the webpage contents in the bookshelf pages, wherein the book elements display the description information of the webpage contents.
The book element may be a predetermined shape having a predetermined size, for example, a quadrangle having a length and a width, and description information of the extracted web page content is displayed in the book element.
Fig. 4a shows a schematic diagram of a browser favorite in the prior art, and fig. 4b shows a schematic diagram of a bookshelf page in an embodiment of the invention, as can be seen from the diagram, compared with a favorite list, the arrangement of book elements in the bookshelf page is more concise and ordered, description information of webpage content is also displayed, and a user can more quickly and conveniently find book elements to be viewed, so as to view corresponding webpage content.
Optionally, the target reading page is determined according to the reading page of the triggering operation for adding the webpage content to the bookshelf, and a book element for linking to the target reading page is newly added in the bookshelf page. In the method, the book element is linked to the reading page corresponding to the current reading progress of the user, and after the user triggers the book element, the displayed reading page can be connected with the reading progress of the user continuously, so that the reading continuity is ensured. In the mode of adding the favorites, the content stored in the favorites is the web page link, the browsing progress of the user is not recorded, and assuming that the user only browses half of the web page content, after the web page link is opened through the favorites next time, the user firstly sees the front part of the web page content and can reach the previous browsing position only by sliding.
In step S370, in response to a user' S trigger operation on any book element in the bookshelf pages, a reading page linked to the book element is displayed.
When a user triggers any book element in the pages of the bookshelf, the reading page linked with the book element is displayed in response to the triggering operation of the user.
Step 380, updating the webpage content and the reading page linked with the book element in the bookshelf page according to the reading progress information of the webpage content by the user.
The reading progress of the webpage content can be changed by the user along with the continuous reading of the user, wherein the plug-in can record the reading progress information of the user. In order to ensure the reading continuity, the webpage content and the reading page linked with the book element are updated according to the reading progress of the user on the webpage content, so that the network content contained in the displayed reading page can be continued to the reading progress of the user after the book element is triggered each time.
Optionally, if the reading progress information indicates that the user has read the downloaded web content completely, acquiring target web content related to the downloaded web content, and updating the web content linked to the book element to the target web content. For example, for a web page novel, each chapter of the novel is made into a web page, then the method of this embodiment is adopted, the novel content is also downloaded chapter by chapter, it is assumed that the web page content currently linked by the book element is the fifth chapter of the novel, when the user has read 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, the web page content linked by the book element is updated to the novel web page content of the sixth chapter, and when the user next triggers the book element, the content of the sixth chapter of the novel is displayed. According to the mode, the webpage contents linked by the book elements can be automatically updated according to the reading progress of the user, when the novel webpage is used, all chapter contents of the novel can be completely read through one book element, the reading continuity is guaranteed, and convenience is brought to the user. In the prior art, a user needs to find a web page link of the next chapter of the novel after reading the novel content of one chapter, so that the reading continuity is damaged.
According to the processing method of the webpage content provided by the embodiment, the method is realized based on a plug-in embedded in a browser, firstly, an entrance entering a reading mode is provided in a webpage displayed by the browser, a user can switch to the reading mode by triggering the entrance, and whether the entrance entering the reading mode is displayed or not is determined based on the content type by judging the content type of the webpage, so that the entrance entering the reading mode can be exposed to the user in the webpage of which the webpage content is suitable for being displayed by the reading page; secondly, after the user triggers to enter a reading mode, downloading webpage content of the webpage, and typesetting the webpage content into a reading page for displaying, so that the reading mode display of the webpage content is realized, and the experience of browsing the webpage content by the user is improved; moreover, the user can newly add book elements linked to the reading pages corresponding to the webpage contents in the bookshelf pages by executing the triggering operation in the reading pages, and the book elements display description information of the webpage contents, so that compared with the mode of adding favorites, the mode of adding the bookshelf in the embodiment is more convenient for the user to search the webpage contents to be checked; in addition, the plug-in can locally record the reading progress of the user on the webpage content, the webpage content linked by the book element is updated according to the reading progress of the user, the book element is triggered by the user each time, the displayed webpage content can be continued to the reading progress of the user, the reading continuity is guaranteed, the browsing progress of the user on the webpage content cannot be recorded in a mode of adding the plug-in into the favorite, the user clicks the webpage link in the favorite, the front part of the webpage content is seen by the user firstly, and the reading continuity cannot be guaranteed.
The embodiment of the invention provides a nonvolatile computer storage medium, wherein at least one executable instruction is stored in the computer storage medium, and the computer executable instruction can execute the processing method of the webpage content in any method embodiment.
The executable instructions may be specifically configured to cause the processor to:
detecting a trigger operation executed by a user and used for adding webpage content to a bookshelf;
responding to a trigger operation for adding the webpage content to the bookshelf, acquiring a webpage link of the webpage content, and acquiring description information of the webpage content according to the webpage link;
book elements for linking to webpage contents are newly added in the pages of the bookshelf, and the book elements display description information of the webpage contents.
In an alternative, the executable instructions cause the processor to:
analyzing to obtain the content type of the webpage;
judging whether a bookshelf adding condition is met or not according to the content type of the webpage;
and if so, presenting a function entrance for activating a function for adding the webpage content to the bookshelf through the function entrance by the user.
In an alternative, the web page content is downloaded locally via a web page link.
In an alternative, the executable instructions cause the processor to:
and in response to the triggering operation of the user on any book element in the bookshelf page, displaying the webpage content linked by the book element.
In an alternative, the executable instructions cause the processor to:
and performing typesetting processing on the webpage content by using a reading engine, and displaying each read page obtained by typesetting through a reader.
In an alternative, the executable instructions cause the processor to:
and updating the webpage contents linked with the book elements in the bookshelf pages according to the reading progress information of the webpage contents by the user.
In an alternative, the executable instructions cause the processor to:
detecting the triggering operation of a user for entering a reading mode of a webpage displayed by a browser;
and responding to the triggering operation of entering the reading mode, and downloading the webpage content according to the webpage link of the webpage.
In an alternative, the executable instructions cause the processor to:
downloading webpage content according to a webpage link of a webpage, performing typesetting processing on the downloaded webpage content by using a reading engine, and displaying each read page obtained by typesetting through a reader;
the method comprises the steps of detecting a trigger operation which is executed in any reading page by a user and is used for adding webpage content to a bookshelf.
In an alternative, the executable instructions cause the processor to:
and if the content type of the webpage is a character type, judging that the condition of adding the bookshelf is met.
In an alternative, the executable instructions cause the processor to:
and acquiring the website type of the webpage, and if the website type is a novel type, determining that the content type of the webpage is a character type.
Through the mode, after the user executes the triggering operation for adding the webpage content to the bookshelf, the book elements which are used for being linked to the webpage content and display the webpage content description information are added in the bookshelf pages, so that the user does not need to go to the favorite of the browser to search the webpage links to be checked, the user can conveniently and quickly search the interested book elements only by entering the bookshelf pages, the corresponding webpage content can be checked, and convenience is provided for the user to check the collected webpage content.
Fig. 5 is a schematic structural diagram of an embodiment of a computing device according to the present invention, and a specific embodiment of the present invention does not limit a specific implementation of the computing device.
As shown in fig. 5, the computing device may include: a processor (processor)502, a Communications Interface 504, a memory 506, and a communication bus 508.
Wherein: the processor 502, communication interface 504, and memory 506 communicate with one another via a communication bus 508. A communication interface 504 for communicating with network elements of other devices, such as clients or other servers. The processor 502 is configured to execute the program 510, and may specifically perform relevant steps in the above-described processing method embodiment for the web page content of the computing device.
In particular, program 510 may include program code that includes computer operating instructions.
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 an embodiment of the present invention. The computing device includes one or more processors, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 506 for storing a program 510. The memory 506 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 510 may specifically be used to cause the processor 502 to perform the following operations:
detecting a trigger operation executed by a user and used for adding webpage content to a bookshelf;
responding to a trigger operation for adding the webpage content to the bookshelf, acquiring a webpage link of the webpage content, and acquiring description information of the webpage content according to the webpage link;
book elements for linking to webpage contents are newly added in the pages of the bookshelf, and the book elements display description information of the webpage contents.
In an alternative, the program 510 causes the processor 502 to:
analyzing to obtain the content type of the webpage;
judging whether a bookshelf adding condition is met or not according to the content type of the webpage;
and if so, presenting a function entrance for activating a function for adding the webpage content to the bookshelf through the function entrance by the user.
In an alternative, the web page content is downloaded locally via a web page link.
In an alternative, the program 510 causes the processor 502 to:
and in response to the triggering operation of the user on any book element in the bookshelf page, displaying the webpage content linked by the book element.
In an alternative, the program 510 causes the processor 502 to:
and performing typesetting processing on the webpage content by using a reading engine, and displaying each read page obtained by typesetting through a reader.
In an alternative, the program 510 causes the processor 502 to:
and updating the webpage contents linked with the book elements in the bookshelf pages according to the reading progress information of the webpage contents by the user.
In an alternative, the program 510 causes the processor 502 to:
detecting the triggering operation of a user for entering a reading mode of a webpage displayed by a browser;
and responding to the triggering operation of entering the reading mode, and downloading the webpage content according to the webpage link of the webpage.
In an alternative, the program 510 causes the processor 502 to:
after downloading the webpage content according to the webpage link of the webpage, typesetting the downloaded webpage content by using a reading engine, and displaying each read page obtained by typesetting through a reader;
the method comprises the steps of detecting a trigger operation which is executed in any reading page by a user and is used for adding webpage content to a bookshelf.
In an alternative, the program 510 causes the processor 502 to:
and if the content type of the webpage is a character type, judging that the condition of adding the bookshelf is met.
In an alternative, the program 510 causes the processor 502 to:
and acquiring the website type of the webpage, and if the website type is a novel type, determining that the content type of the webpage is a character type.
Through the mode, after the user executes the triggering operation for adding the webpage content to the bookshelf, the book elements which are used for being linked to the webpage content and display the webpage content description information are added in the bookshelf pages, so that the user does not need to go to the favorite of the browser to search the webpage links to be checked, the user can conveniently and quickly search the interested book elements only by entering the bookshelf pages, the corresponding webpage content can be checked, and convenience is provided for the user to check the collected webpage content.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form. It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.
The invention discloses: A1. a method for processing webpage content, wherein the method is realized based on a plug-in embedded in a browser, and comprises the following steps:
detecting a trigger operation executed by a user and used for adding webpage content to a bookshelf;
responding to the trigger operation for adding the webpage content to the bookshelf, acquiring a webpage link of the webpage content, and acquiring description information of the webpage content according to the webpage link;
and adding a book element which is used for being linked to the webpage content in a bookshelf page, wherein the book element displays the description information of the webpage content.
A2. The method of a1, wherein the method further comprises:
analyzing to obtain the content type of the webpage;
judging whether a bookshelf adding condition is met or not according to the content type of the webpage;
and if so, presenting a function entrance for a user to activate a function for adding the webpage content to the bookshelf through the function entrance.
A3. The method of A1 or A2, wherein the web page content is downloaded locally through the web page link.
A4. The method of a3, wherein the method further comprises:
and in response to the triggering operation of the user on any book element in the bookshelf page, displaying the webpage content linked by the book element.
A5. The method according to a4, wherein the displaying the web page content to which the book element is linked further comprises:
and performing typesetting processing on the webpage content by using a reading engine, and displaying each read page obtained by typesetting through a reader.
A6. The method of a5, wherein the method further comprises:
and updating the webpage contents linked with the book elements in the bookshelf pages according to the reading progress information of the webpage contents by the user.
A7. The method of a3, wherein the method further comprises:
detecting the triggering operation of a user for entering a reading mode of a webpage displayed by the browser;
and responding to the triggering operation of entering the reading mode, and downloading the webpage content according to the webpage link of the webpage.
A8. The method of a7, wherein, after downloading web page content according to the web page link of the web page, the method further comprises:
typesetting the downloaded webpage content by using a reading engine, and displaying each read page obtained by typesetting through a reader;
the detecting a trigger operation performed by the user for adding the web page content to the bookshelf further includes:
the method comprises the steps of detecting a trigger operation which is executed in any reading page by a user and is used for adding webpage content to a bookshelf.
A9. The method according to a2, wherein the determining whether the bookshelf adding condition is met according to the content type of the web page further comprises:
and if the content type of the webpage is a character type, judging that a bookshelf adding condition is met.
A10. The method of a2, wherein the parsing the content type of the web page further comprises:
and acquiring the website type of the webpage, and if the website type is a novel type, determining that the content type of the webpage is a character type.
B11. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
detecting a trigger operation executed by a user and used for adding webpage content to a bookshelf;
responding to the trigger operation for adding the webpage content to the bookshelf, acquiring a webpage link of the webpage content, and acquiring description information of the webpage content according to the webpage link;
and adding a book element which is used for being linked to the webpage content in a bookshelf page, wherein the book element displays the description information of the webpage content.
B12. The computing device of B11, the executable instructions further cause the processor to:
analyzing to obtain the content type of the webpage;
judging whether a bookshelf adding condition is met or not according to the content type of the webpage;
and if so, presenting a function entrance for a user to activate a function for adding the webpage content to the bookshelf through the function entrance.
B13. The computing device of B11 or B12, wherein the web page content is downloaded locally through the web page link.
B14. The computing device of B13, the executable instructions further cause the processor to:
and in response to the triggering operation of the user on any book element in the bookshelf page, displaying the webpage content linked by the book element.
B15. The computing device of B14, the executable instructions further cause the processor to:
and performing typesetting processing on the webpage content by using a reading engine, and displaying each read page obtained by typesetting through a reader.
B16. The computing device of B15, the executable instructions further cause the processor to:
and updating the webpage contents linked with the book elements in the bookshelf pages according to the reading progress information of the webpage contents by the user.
B17. The computing device of B13, the executable instructions further cause the processor to:
detecting the triggering operation of a user for entering a reading mode of a webpage displayed by the browser;
and responding to the triggering operation of entering the reading mode, and downloading the webpage content according to the webpage link of the webpage.
B18. The computing device of B17, the executable instructions further cause the processor to:
downloading webpage contents according to the webpage links of the webpages, typesetting the downloaded webpage contents by using a reading engine, and displaying each read page obtained by typesetting through a reader;
the method comprises the steps of detecting a trigger operation which is executed in any reading page by a user and is used for adding webpage content to a bookshelf.
B19. The computing device of B12, the executable instructions further cause the processor to:
and if the content type of the webpage is a character type, judging that a bookshelf adding condition is met.
B20. The computing device of B12, the executable instructions further cause the processor to:
and acquiring the website type of the webpage, and if the website type is a novel type, determining that the content type of the webpage is a character type.
C21. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the method for processing web content according to any one of a1-a 10.

Claims (10)

1. A method for processing webpage content, wherein the method is realized based on a plug-in embedded in a browser, and comprises the following steps:
detecting a trigger operation executed by a user and used for adding webpage content to a bookshelf;
responding to the trigger operation for adding the webpage content to the bookshelf, acquiring a webpage link of the webpage content, and acquiring description information of the webpage content according to the webpage link;
and adding a book element which is used for being linked to the webpage content in a bookshelf page, wherein the book element displays the description information of the webpage content.
2. The method of claim 1, wherein the method further comprises:
analyzing to obtain the content type of the webpage;
judging whether a bookshelf adding condition is met or not according to the content type of the webpage;
and if so, presenting a function entrance for a user to activate a function for adding the webpage content to the bookshelf through the function entrance.
3. The method of claim 1 or 2, wherein the web page content is downloaded locally via the web page link.
4. The method of claim 3, wherein the method further comprises:
and in response to the triggering operation of the user on any book element in the bookshelf page, displaying the webpage content linked by the book element.
5. The method of claim 4, wherein said displaying the web page content to which the book element is linked further comprises:
and performing typesetting processing on the webpage content by using a reading engine, and displaying each read page obtained by typesetting through a reader.
6. The method of claim 5, wherein the method further comprises:
and updating the webpage contents linked with the book elements in the bookshelf pages according to the reading progress information of the webpage contents by the user.
7. The method of claim 3, wherein the method further comprises:
detecting the triggering operation of a user for entering a reading mode of a webpage displayed by the browser;
and responding to the triggering operation of entering the reading mode, and downloading the webpage content according to the webpage link of the webpage.
8. The method of claim 7, wherein after downloading web page content according to the web page link of the web page, the method further comprises:
typesetting the downloaded webpage content by using a reading engine, and displaying each read page obtained by typesetting through a reader;
the detecting a trigger operation performed by the user for adding the web page content to the bookshelf further includes:
the method comprises the steps of detecting a trigger operation which is executed in any reading page by a user and is used for adding webpage content to a bookshelf.
9. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
detecting a trigger operation executed by a user and used for adding webpage content to a bookshelf;
responding to the trigger operation for adding the webpage content to the bookshelf, acquiring a webpage link of the webpage content, and acquiring description information of the webpage content according to the webpage link;
and adding a book element which is used for being linked to the webpage content in a bookshelf page, wherein the book element displays the description information of the webpage content.
10. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the method for processing web page content according to any one of claims 1-8.
CN202110301514.0A 2021-03-22 2021-03-22 Webpage content processing method, computing device and computer storage medium Pending CN113010814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110301514.0A CN113010814A (en) 2021-03-22 2021-03-22 Webpage content processing method, computing device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110301514.0A CN113010814A (en) 2021-03-22 2021-03-22 Webpage content processing method, computing device and computer storage medium

Publications (1)

Publication Number Publication Date
CN113010814A true CN113010814A (en) 2021-06-22

Family

ID=76404118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110301514.0A Pending CN113010814A (en) 2021-03-22 2021-03-22 Webpage content processing method, computing device and computer storage medium

Country Status (1)

Country Link
CN (1) CN113010814A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114117269A (en) * 2022-01-26 2022-03-01 荣耀终端有限公司 Memorandum information collection method and device, electronic equipment and storage medium
CN114780896A (en) * 2022-06-20 2022-07-22 深圳市快印客电子商务有限公司 Webpage content generation method and device and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114117269A (en) * 2022-01-26 2022-03-01 荣耀终端有限公司 Memorandum information collection method and device, electronic equipment and storage medium
CN114117269B (en) * 2022-01-26 2022-09-20 荣耀终端有限公司 Memo information collection method and device, electronic equipment and storage medium
CN114780896A (en) * 2022-06-20 2022-07-22 深圳市快印客电子商务有限公司 Webpage content generation method and device and computer readable storage medium
CN114780896B (en) * 2022-06-20 2022-09-09 深圳市快印客电子商务有限公司 Webpage content generation method and device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN104036011B (en) Webpage element display method and browser device
CN106095453B (en) Information display method and device and electronic equipment
US8812658B1 (en) Pre-fetching of network page content
US10515142B2 (en) Method and apparatus for extracting webpage information
CN106844635B (en) Method and device for editing elements in webpage
CN110245069B (en) Page version testing method and device and page display method and device
CN105302811B (en) Browser page skipping method and device
KR20110099225A (en) Previewing search results for suggested refinement terms and vertical searches
CN111143739B (en) Page jump method, computing device and computer storage medium
CN113010814A (en) Webpage content processing method, computing device and computer storage medium
CN105183890B (en) Webpage loading method based on browser and browser device
CN111984169B (en) Electronic book page display method, computing equipment and computer storage medium
US20160328110A1 (en) Method, system, equipment and device for identifying image based on image
CN104809173A (en) Search result processing method and device
CN110806822B (en) Electronic book interaction method, computing device and computer storage medium
CN110489032B (en) Dictionary query method for electronic book and electronic equipment
CN115687662A (en) Multimedia work processing method, device, equipment and storage medium
CN111026964B (en) Display method of list page, electronic equipment and computer storage medium
CN112559913B (en) Data processing method, device, computing equipment and readable storage medium
CN111538453B (en) Book detail page display method, terminal and computer storage medium
CN113656737A (en) Webpage content display method and device, electronic equipment and storage medium
US20230297618A1 (en) Information display method and electronic apparatus
US8688677B2 (en) Search-highlighter system and method
CN111552795A (en) Book list page display method, electronic equipment and storage medium
CN105095416B (en) A kind of method and apparatus realizing content in the search and promoting

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