WO2014026510A1 - 网页内容的浏览方法、装置和浏览器 - Google Patents

网页内容的浏览方法、装置和浏览器 Download PDF

Info

Publication number
WO2014026510A1
WO2014026510A1 PCT/CN2013/078340 CN2013078340W WO2014026510A1 WO 2014026510 A1 WO2014026510 A1 WO 2014026510A1 CN 2013078340 W CN2013078340 W CN 2013078340W WO 2014026510 A1 WO2014026510 A1 WO 2014026510A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset function
function feature
browser
website page
displayed
Prior art date
Application number
PCT/CN2013/078340
Other languages
English (en)
French (fr)
Inventor
梁捷
俞永福
何小鹏
朱顺炎
曾锦和
Original Assignee
优视科技有限公司
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 优视科技有限公司 filed Critical 优视科技有限公司
Publication of WO2014026510A1 publication Critical patent/WO2014026510A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Definitions

  • the present invention claims to be submitted to the Chinese Patent Office on August 16, 2012, the application number is 201210293372.9, and the Chinese patent application titled “Browsing Method, Device and Browser of Web Content” Priority, the entire contents of which are incorporated herein by reference.
  • the present invention relates to the field of mobile communications, and in particular to a method, device, and browser for browsing webpage content.
  • a web page often consists of up to 10 pages of content, and each page displays a long space on the mobile phone.
  • the user needs to scroll the scroll bar of the browser multiple times from the top of the web page.
  • many webpages provide functions such as commenting, commenting, and sharing, and these functions are often located in the lower middle or the bottom of the webpage.
  • the present invention provides a browsing method, device and browser for webpage content to at least solve the above problems.
  • a method for browsing webpage content including: when a browser loads a webpage page according to a user request, detecting whether the webpage has a preset function feature; if there is a preset function feature, Displaying a prompt item corresponding to the detected preset function feature independently of the website page; and, in response to the user selecting the prompt item, positioning the content currently displayed by the browser to the selected one The content corresponding to the prompt item.
  • the prompt corresponding to the detected preset function feature is displayed independently of the website page
  • the item includes: determining whether the preset function feature detected includes a preset function feature that is not displayed by the current display area of the website page; if included, displaying the current display area independently of the website page
  • the method further includes: when the function feature corresponding to the prompt item is displayed on the browser, hiding a prompt item corresponding to a preset function feature currently displayed on the website page.
  • the detecting whether the website page has a preset function feature includes at least one of the following methods: detecting whether the website page includes a node element having a preset function feature; and detecting an internal object of the website page Whether it has a preset feature.
  • the method further includes: acquiring information of the preset function feature from a terminal where the browser is located; and/or acquiring information of the preset function feature from a server.
  • the preset function feature comprises at least one of the following: a score, a comment, a share, a page flip, or a digital link zone.
  • a browsing device for webpage content including: a detecting module, configured to detect, when a browser loads a website page according to a user request, whether the website page has a preset function feature; a module, configured to: when the detection result of the detection module is YES, display a prompt item corresponding to the detected preset function feature independently of the website page; and, a processing module, configured to respond to the user The selection of the prompt item locates the content currently displayed by the browser to the content corresponding to the selected prompt item.
  • the display module includes: a determining unit, configured to determine whether the preset function feature detected includes a preset function feature that the current display area of the website page cannot be displayed; and a display unit, configured to When the determination result of the determination unit is YES, the prompt item corresponding to the preset function feature that the current display area cannot display is displayed independently of the website page.
  • the device further includes: a hiding module, configured to: when the function feature corresponding to the prompt item is displayed on the browser, hide a prompt item corresponding to a preset function feature currently displayed on the website page .
  • a hiding module configured to: when the function feature corresponding to the prompt item is displayed on the browser, hide a prompt item corresponding to a preset function feature currently displayed on the website page .
  • a browser comprising the above-described web content browsing apparatus provided by the present invention.
  • the browser when the browser loads the website page according to the user request, it detects whether the website page has a preset function feature; if yes, displays the prompt item corresponding to the detected preset function feature independently of the website page; and, responds The user selects the prompt item to locate the content currently displayed by the browser to the content corresponding to the selected prompt item, so that the user can quickly locate the website page to the content that is desired to be browsed, thereby realizing quick browsing of the webpage content and avoiding The cumbersome operation process of web browsing improves the user experience.
  • FIG. 1 is a schematic picture of a link area located in the middle of a page according to the related art
  • FIG. 2 is a schematic picture of a comment area according to the related art located at a lower portion of a page;
  • FIG. 3 is a flowchart of a method for browsing webpage content according to an embodiment of the present invention.
  • FIG. 4 is a schematic picture of a browser display interface when entering an evaluation article according to an embodiment of the present invention
  • FIG. 5 is a schematic picture of a display interface after clicking a digital link area button according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a preferred browsing device for webpage content according to an embodiment of the present invention.
  • Figure 8 is a schematic illustration of a preferred display module in accordance with an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of another preferred browsing device for web content according to an embodiment of the present invention.
  • a browsing method of webpage content is provided, and a specific function feature in a webpage is prompted to a user, so that the user can directly locate the website page to the content that is desired to be browsed according to the prompt.
  • FIG. 3 is a flowchart of a method for browsing webpage content according to an embodiment of the present invention. As shown in FIG. 3, the method mainly includes the following steps (step S302-step S306):
  • Step S302 when the browser loads the website page according to the user request, detecting whether the website page has a preset function feature
  • Step S304 if there is a preset function feature, displaying a prompt item corresponding to the preset function feature independently of the website page;
  • Step S306 in response to the user's selection of the prompt item, locate the content currently displayed by the browser to the content corresponding to the selected prompt item.
  • the browser detects whether the website page has a preset function feature; if yes, displays the prompt item corresponding to the detected preset function feature independently of the website page; Responding to the user's selection of the prompt item, the content currently displayed by the browser is located to the content corresponding to the selected prompt item, so that the user can quickly locate the website page to the content that is desired to be browsed, thereby realizing quick browsing of the webpage content. , avoiding the cumbersome operation process of web browsing and improving the user experience.
  • the browser After receiving the browsing request of the website for the website, the browser loads the data in the website page requested by the user, and detects whether the website page has a preset function feature. If yes, the detected preset function feature may be displayed. Prompt item. For example, it may be detected whether the website page has a preset function feature by detecting whether the website page includes a node element having a preset function. Specifically, the node element of the current website page is detected, the node element having the preset function feature is obtained, and then the prompt item is determined according to the processed result.
  • node elements with preset function features can be obtained through simple text matching. For example, when detecting node elements in a website page, when "new page” or “next page” is detected, It is determined that the element in which the above text appears is a node element having a page turning function feature, that is, the page has a page turning function feature, and the corresponding "page turning" prompt item can be displayed.
  • a node element having a preset function feature by detecting whether an internal object of the website page has a preset function feature, for example, detecting a form object in the website page, submitting a button control, and the button text is "reviews" "When you can determine that the above object is a node element with a comment function, you can display the corresponding "Comment" prompt item.
  • the browser may obtain the information of the preset function feature from the server when needed, or may read the information of the preset function feature in the terminal where the browser is located.
  • the information of the preset function feature is obtained from the server, the data traffic is generated to bring additional overhead to the user. Therefore, preferably, the information of the preset function feature can be read in the terminal, which is a preferred embodiment of the present invention.
  • the information of the preset function feature may be saved in the terminal.
  • the information of the preset function feature may be saved in a corresponding configuration file in the terminal.
  • the browser can periodically update the information of the preset function features saved from the server.
  • the website page includes multiple functions, for example, comments, sharing, page turning, and functions such as a digital link area.
  • the browser can provide the function features included in the website page to the user.
  • a prompt item is displayed in the browser for the user to select, and according to the user's selection, the content displayed by the browser is more quickly located to the function selected by the user.
  • the preset function feature of the browser may be any functional feature in the website page, and the user may set the preset according to the usage habit. Feature to set the prompt items that need to be displayed.
  • the preset function features include, but are not limited to, at least one of the following: scoring, commenting, sharing, page turning, digital link area.
  • the browser can locate the content displayed by the browser to the content corresponding to the selected prompt item in response to the user's selection of the displayed prompt item, so that the user can browse the corresponding content or perform corresponding operations.
  • the prompt items displayed in the browser are independent of the website page and are displayed directly in the browser. Each function can correspond to a prompt item, and the user can directly operate the prompt item.
  • the prompt item may include, but is not limited to, at least one of the following: a button, a label, a link, and an image. In practical applications, the prompt item can be any visual element that can respond to user actions.
  • the comment function in the website page is not displayed on the current page, and the "comment" function can be prompted to the user.
  • a button control can be displayed in the browser, and the text of the "comment” is displayed on the button control, and the user needs to comment.
  • you click the button control directly, you don't need to scroll the browser's scroll bar.
  • the browser will display the displayed content to the page area where the "Comment" function is located.
  • a node element having a preset function in the website page is already displayed in the screen, in order to avoid repeatedly displaying the prompt item corresponding to the node element having the preset function feature already displayed in the screen, a preferred embodiment of the present invention
  • the prompt item corresponding to the preset function feature when the prompt item corresponding to the preset function feature is displayed, the node element having the preset function feature that is not currently displayed in the browser may be obtained from the acquired node element having the preset function feature, and A prompt item corresponding to a preset function feature that is not currently displayed in the browser is displayed in the browser.
  • the preset function features that have been displayed on the screen are avoided, and effective and accurate prompt information is provided, which is convenient for the user to operate and improves the user experience.
  • the above-mentioned prompt item may be displayed in any position of the browser or the screen.
  • the display and the preset are provided in a preferred embodiment of the present invention, in order to prevent the prompt item from being displayed in the middle of the screen.
  • the prompt item corresponding to the node element of the function feature may include, but is not limited to, the following methods: 1) displaying a prompt item corresponding to the node element having the preset function feature at the top of the browser; 2) displaying and displaying at the bottom of the browser a prompt item corresponding to a node element having a preset function feature; 3) displaying a prompt item corresponding to a node element having a preset function feature on the left side of the browser; 4) displaying and having a preset function on the right side of the browser
  • the prompt item corresponding to the node element of the feature may include, but is not limited to, the following methods: 1) displaying a prompt item corresponding to the node element having the preset function feature at the top of the browser; 2) displaying and displaying at the bottom of the browser a prompt item corresponding to a node element having a preset function feature; 3) displaying a prompt item corresponding to a node element having a preset function feature on the left side of the browser;
  • the browser can provide the user with a setting function of the prompt item display manner, so that the user selects the display position of the prompt item according to the usage habit.
  • the prompt item is displayed at a reasonable position, which is convenient for the user to browse the currently displayed page, and facilitates the user to operate the prompt item.
  • the page displayed in the browser will change, and some node elements with preset function features will be displayed on the screen. In the background, some of the node elements displayed on the screen will no longer continue to appear on the screen.
  • the node having the preset function feature that is not currently displayed in the browser may be obtained from the obtained node element having the preset function feature. element.
  • the browser in order to improve the saliency of the prompt item, may set the display effect of the prompt item according to factors such as the style or color of the currently browsed website page, so as to display the prompt item. It is distinguished from the website page, thereby increasing the visibility of the prompt item, and facilitating the user to operate the prompt item.
  • the user accesses the evaluation channel of the Pacific computer website through the browser, and the user clicks on the article "IVB is sneak peek! Intel three generation Core i5 preemptive evaluation", the user hopes to understand the performance of the three generations of 15 and the previous generations as soon as possible.
  • the user knows from experience that the content is on the last page of the article. Then the user needs to use the mouse to operate the cursor to slide on the screen multiple times. After the cursor slides to the correct position, click the "12" link to complete the action of turning to the last page.
  • the prompt button of the "digital link area” is displayed at the bottom of the page, and the “comment” and “page turning” buttons are displayed side by side. Therefore, the user can directly click the "digital link area” prompt button, after the browser receives the click event, scroll the page to display the digital link area (as shown in FIG. 5), and click the link "12" to browse the last page.
  • the form list and the next page button are displayed on the current screen, and the corresponding prompt button may not be displayed.
  • a browsing device for webpage content which is used to implement a browsing method of webpage content provided by the above embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a browsing device for webpage content according to an embodiment of the present invention.
  • the apparatus mainly includes: a detecting module 10, a display module 20, and a processing module 30.
  • the detecting module 10 is configured to detect whether the website page has a preset function feature when the browser loads the website page according to the user request;
  • the display module 20 is coupled to the detecting module 10, and is configured to be used in the detecting module 10
  • the processing module 30 is configured to respond The user selects the prompt item, and locates the content currently displayed by the browser to the content corresponding to the prompt item selected by the user.
  • the detecting module 10 detects the network. Whether the station page has a preset function feature; if yes, the display module 20 displays the prompt item corresponding to the detected preset function feature independently of the website page; and, by the processing module 30, responding to the user's selection of the prompt item, The content currently displayed by the browser is located to the content corresponding to the selected prompt item, so that the user can quickly locate the website page to the content that is desired to be browsed, thereby realizing quick browsing of the webpage content, and avoiding the cumbersome operation process of the webpage browsing. , improved user experience.
  • the detecting module 10 can obtain a node element having a preset function feature by using text matching. For example, the detecting module 10 detects a node element in the website page, and detects a text such as "turning the page" or "next page". At this time, it can be determined that the area in which the above text appears is a node element having a page turning function feature.
  • the detection module 10 can also determine the node element having the preset function feature by detecting the internal object of the website page. For example, when the detection module 10 detects the form object in the website page and submits the button control, the detection module 10 can determine that the area where the object appears is A node element with a comment function.
  • the browser may obtain the information of the preset function feature from the server when needed, or may read the information of the preset function feature in the terminal where the browser is located.
  • the data traffic is generated to bring additional overhead to the user. Therefore, the information of the preset function feature can be read in the configuration file of the browser, which is a preferred embodiment of the present invention.
  • the foregoing apparatus may further include: a saving module 40, configured to save information of a preset function feature in the terminal.
  • the browser may update the saved preset function feature information from the server. Therefore, the device may further include: an update module 50, configured to update the saved preset function feature information from the server. .
  • the browser may provide the function features included in the website page to the user, display the prompt item in the browser for the user to select, and locate the content displayed by the browser to the user according to the user's selection. Selected features.
  • the function feature preset by the browser may be any function feature in the website page, and at the same time, the user may set the preset function feature according to the usage habit to set the prompt item to be displayed.
  • the preset function features include, but are not limited to, at least one of the following: scoring, commenting, sharing, page turning, digital link area.
  • the processing module 30 can locate the content displayed by the browser to the content corresponding to the node element corresponding to the selected prompt item in response to the user's selection of the displayed prompt item, so that the user can browse the content of the response or Take the appropriate action.
  • the prompt item displayed by the display module 20 in the browser is independent of the website page and directly displayed in the browser. Each function can correspond to a prompt item, and the user can directly operate the prompt item.
  • the prompt item displayed by the display module 20 may include, but is not limited to, at least one of the following: a button, a label, a link, and an image.
  • the display module 20 can display a button control in the browser, and the text of the "comment” is displayed on the button control.
  • the processing module 30 responds to the user's operation, and the browser positions the displayed content to the page area where the "comment" function is located.
  • the node element with the preset function feature is displayed.
  • the node element having the preset function feature that is not currently displayed in the browser may be judged from the obtained node element having the preset function feature, and displayed in the browser and not currently displayed in the browser A prompt item corresponding to a node element having a preset function feature in the browser. Therefore, in a preferred embodiment of the present invention, as shown in FIG.
  • the display module 20 may include: a determining unit 202, configured to determine whether the current display area is not displayed in the detected preset function feature.
  • the preset function feature the display unit 204 is coupled to the determining unit 202, and configured to display, according to the website page, a prompt item corresponding to the preset function feature that the current display area fails to display, when the determination result is YES.
  • the node element with the preset function feature that has been displayed in the screen is avoided, and the effective and accurate prompt information is provided, which is convenient for the user to operate and improves the user experience.
  • the display module 20 can display the above-mentioned prompt item at any position of the browser or the screen. In order to avoid the display of the prompt item in the middle of the screen, the user can browse the current webpage.
  • the display module 20, when displaying the prompt item corresponding to the node element having the preset function feature may include, but is not limited to, any combination of the following manners: 1) displaying a prompt item corresponding to the node element having the preset function feature at the top of the browser; 2) Display a prompt item corresponding to the node element having the preset function feature at the bottom of the browser; 3) display a prompt item corresponding to the node element having the preset function feature on the left side of the browser; 4) in the browser The right side of the display shows the prompt item corresponding to the node element with the preset function feature.
  • the browser can provide the user with a setting function of the manner in which the prompt item is displayed, so that the user selects the display position of the prompt item according to the usage habit.
  • the prompt item is displayed at a reasonable position, so that the user can browse the currently displayed page, and the user can conveniently operate the prompt item.
  • the webpage structure displayed in the browser changes.
  • the obtained node element with the preset function feature is obtained, the obtained one that is not currently displayed in the browser can be obtained.
  • the node element of the preset feature may further include: a hiding module 60, configured to: when the function feature corresponding to the prompt item is displayed on the browser, the hidden and currently displayed A prompt item corresponding to a preset function feature in the browser.
  • a browser including the browsing device of the webpage content provided by the foregoing embodiment of the present invention, is provided, which can implement the browsing method of the webpage content provided by the foregoing embodiment of the present invention.
  • a method for browsing webpage content is provided, and the Hypertext Markup Language (HTML) is used for intelligent sensing and judging of the content of the webpage without changing the layout of the webpage.
  • HTML Hypertext Markup Language
  • Common features in web pages including page turning, digital page link area, comment, sharing, scoring, etc., provide a page-independent navigation prompt button (or other at the bottom of the screen's display page view area (or other fixed area).
  • the browser After receiving the browsing request for the website page, the browser loads the data in the website page requested by the user, performs the sensing detection of the content, detects the defined webpage function, and detects that the current webpage has one or more functional features therein.
  • the webpage is provided with one or more browsing prompts, for example, a rectangle shortcut button is listed at the bottom of the webpage view area, and the browsing prompt is not controlled by the scroll bar at the bottom of the resident.
  • a function is displayed, the corresponding browsing prompt is hidden, and the function is restored to display the corresponding browsing prompt when the function is not in the current display area.
  • a prompt control is selected.
  • the prompt control is a button, but any element example (such as a label, a link, an image) that can accept a user operation event can be used as a prompt control.
  • the prompt area is the bottom of the browser display area, and in actual applications, it may also be an area such as a top, a left side, and a right side.
  • the hint control within the hint area uses a color difference or an additional style to distinguish from the content of the normally displayed web page.
  • the embodiments of the present invention include but are not limited to the following definitions: 1) Turning pages: Keywords are “next page” “next page” “page turning” “next page” “next” is a link or Button node; 2) Digital page link area: The content is a series of connected digital links; 3) Comment: There is an input box in the form area, and contains the keyword “comment” “reviews” “message “Reply” "Publish” one; 4) Share: keyword “share”, or link address keyword (for example, "qzshare/cgi_qzshare_onekey?”), etc.; 5) Scoring: The keyword “score”.
  • a setting item can be set in the browser to set the prompt function to be turned on or off, and the user is allowed to Choose whether you need to be prompted.
  • Step 1 The user clicks on a webpage link, and the browser responds to the user's website page browsing request, and the browser obtains the data of the website page requested by the user;
  • Step 2 When loading the website page, the browser determines whether the website page has a preset function feature. Further, it is also possible to save the discriminating result and the element satisfying the discriminating basis. For example, when an element such as a link link, a button button, a form form, etc. is detected, it can be determined that the website page contains the corresponding functional features. Preferably, when the document object model dom tree structure of the page changes, the discriminating can be performed again;
  • Step 3 the browser performs a normal typesetting action, and performs normal rendering display
  • Step 4 After the browser displays the content of the webpage, check the result of the foregoing detection.
  • a website page has a preset function feature, check whether the content corresponding to the node element corresponding to the corresponding judgment is in the current display area. If one or more elements are not in the current display area, one or more prompt buttons or other prompt elements are displayed corresponding to the configurable position independent of the web page view;
  • step 4 is triggered to be re-executed
  • Step 5 The browser responds to the operation of the prompt button by the user.
  • the browser locates the currently displayed content to the content corresponding to the selected prompt button;
  • step 6 the browser completes the operations of page turning, scoring, sharing, comment input, etc. according to the user's further operations.
  • the present invention achieves the following technical effects:
  • the browser loads the website page according to the user request, it detects whether the website page has a preset function feature; if yes, it is independent of the website page display and detection. And the prompt item corresponding to the preset function feature; and, in response to the user selecting the prompt item, positioning the content currently displayed by the browser to the content corresponding to the selected prompt item, so that the user can quickly locate the website page to The content that I hope to browse realizes the quick browsing of the content of the webpage, avoids the cumbersome operation process of the webpage browsing, and improves the user experience.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device, which can be centralized on a single computing device or distributed across multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from this
  • the steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, i.e., may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including Several instructions to make a computer A device (which may be a personal computer, a server, or a network device, etc.) or a processor performs all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a Read-Only Memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes.

Landscapes

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

Abstract

本发明公开了一种网页内容的浏览方法、装置和浏览器。其中,该方法包括:浏览器根据用户请求加载网站页面时,检测网站页面中是否具有预设功能特征;如果是,则独立于网站页面显示与检测到的预设功能特征对应的提示项;以及响应用户对提示项的选择,将浏览器当前显示的内容定位至与选择的提示项所对应的内容。通过本发明,实现了网页内容的快捷浏览,避免了网页浏览时繁琐的操作过程,提高了用户体验。

Description

网页内容的浏览方法、 装置和浏览器 本发明要求于 2012年 8月 16日提交中国专利局、 申请号为 201210293372.9、发 明名称为 "网页内容的浏览方法、 装置和浏览器"的中国专利申请的优先权, 其全部 内容通过弓 I用结合在本发明中。 技术领域 本发明涉及移动通信领域, 具体而言, 涉及一种网页内容的浏览方法、装置和浏
背景技术
相关技术中, 通过移动终端浏览为个人电脑 (Personal Computer, 简称为 PC) 设计的网页时, 因为移动终端屏幕太小的原因, 屏幕中仅能显示网页顶端的内容, 而 网页的其他部分内容, 则需要经过多次操作才能浏览, 使得用户操作不方便, 影响用 户体验。
例如, 如图 1所示, 网页经常由多至 10页的内容组成, 且每一页在手机上显示 的篇幅都比较长,用户从网页的顶部看起, 需要多次滚动浏览器的滚动条才能浏览到 网页的下部, 还需要密切留意屏幕的内容以防滚过头。 又例如, 如图 2所示, 很多网 页提供了点评、评论、分享这样的功能,而这些功能往往都位于网页的中下部或末尾, 用户进行上述功能的操作时,需要多次进行操作,使得用户操作繁琐,影响用户体验。 发明内容
针对相关技术中浏览网页时操作繁琐的问题,本发明提供了一种网页内容的浏览 方法、 装置和浏览器, 以至少解决上述问题。
根据本发明的一个方面, 提供了一种网页内容的浏览方法, 包括: 浏览器根据用 户请求加载网站页面时,检测所述网站页面中是否具有预设功能特征; 如果具有预设 功能特征, 则独立于所述网站页面显示与检测到的所述预设功能特征对应的提示项; 以及, 响应用户对所述提示项的选择,将所述浏览器当前显示的内容定位至与所述选 择的提示项对应的内容。
优选地,所述独立于所述网站页面显示与检测到的所述预设功能特征对应的提示 项, 包括: 判断检测到的所述预设功能特征中, 是否包含所述网站页面当前显示区域 未能显示的预设功能特征; 如果包含, 则独立于所述网站页面显示所述当前显示区域 未能显示的预设功能特征所对应的提示项。
优选地, 所述方法还包括: 在所述提示项对应的功能特征显示在所述浏览器时, 隐藏与当前显示在所述网站页面上的预设功能特征对应的提示项。
优选地,所述检测所述网站页面中是否具有预设功能特征,包括下列至少一种方 式: 检测所述网站页面中是否包含具有预设功能特征的节点元素; 检测所述网站页面 的内部对象是否具有预设功能特征。
优选地,所述方法还包括: 从所述浏览器所在的终端中获取所述预设功能特征的 信息; 和 /或, 从服务器获取所述预设功能特征的信息。
优选地, 所述预设功能特征包括以下各项中的至少一项: 打分、 评论、 分享、 翻 页、 或数字链接区。
根据本发明的另一个方面, 提供了一种网页内容的浏览装置, 包括: 检测模块, 用于在浏览器根据用户请求加载网站页面时,检测所述网站页面中是否具有预设功能 特征; 显示模块, 用于在所述检测模块的检测结果为是时, 独立于所述网站页面显示 与检测到的所述预设功能特征对应的提示项; 以及, 处理模块, 用于响应用户对所述 提示项的选择, 将所述浏览器当前显示的内容定位至与所述选择的提示项对应的内 容。
优选地,所述显示模块包括:判断单元,用于判断检测到的所述预设功能特征中, 是否包含所述网站页面当前显示区域不能显示的预设功能特征; 显示单元,用于在所 述判断单元的判断结果为是时,独立于所述网站页面显示所述当前显示区域不能显示 的预设功能特征所对应的提示项。
优选地, 所述装置还包括: 隐藏模块, 用于在所述提示项对应的功能特征显示在 所述浏览器时, 隐藏与当前显示在所述网站页面上的预设功能特征对应的提示项。
根据本发明的再一个方面,提供了一种浏览器,包括本发明提供的上述网页内容 的浏览装置。
通过本发明, 浏览器根据用户请求加载网站页面时,检测网站页面中是否具有预 设功能特征;如果是,则独立于网站页面显示与检测到的预设功能特征对应的提示项; 并且, 响应用户对提示项的选择,将浏览器当前显示的内容定位至与选择的提示项所 对应的内容, 使得用户可以快速地将网站页面定位至希望浏览的内容, 实现了网页内 容的快捷浏览, 避免了网页浏览时繁琐的操作过程, 提高了用户体验。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现 有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅 是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前 提下, 还可以根据这些附图获得其他的附图。
图 1是根据相关技术的链接区域位于页面中部的示意图片;
图 2是根据相关技术的评论区域位于页面中下部的示意图片;
图 3是根据本发明实施例的网页内容的浏览方法的流程图;
图 4是根据本发明实施例的进入测评文章时浏览器显示界面的示意图片; 图 5是根据本发明实施例的点击了数字链接区按钮后的显示界面的示意图片; 图 6是根据本发明实施例的网页内容的浏览装置的示意图;
图 7是根据本发明实施例优选的网页内容的浏览装置的示意图;
图 8是根据本发明实施例优选的显示模块的示意图;
图 9是根据本发明实施例另一优选的网页内容的浏览装置的示意图。 具体实施方式 为了使本技术领域的人员更好地理解本发明实施例中的技术方案,并使本发明实 施例的上述目的、特征和优点能够更加明显易懂, 下面结合附图对本发明实施例中技 术方案作进一步详细的说明。
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。
根据本发明实施例,提供了一种网页内容的浏览方法, 向用户提示网页中特定的 功能特征, 使得用户可以根据提示直接将网站页面定位至希望浏览的内容。
图 3是根据本发明实施例的网页内容的浏览方法的流程图, 如图 3所示, 该方法 主要包括以下几个步骤 (步骤 S302-步骤 S306):
步骤 S302, 浏览器根据用户请求加载网站页面时, 检测所述网站页面中是否具 有预设功能特征;
步骤 S304, 如果具有预设功能特征, 则独立于所述网站页面显示与所述预设功 能特征对应的提示项;
步骤 S306, 响应用户对所述提示项的选择, 将浏览器当前显示的内容定位至与 选择的提示项所对应的内容。 通过本发明实施例, 浏览器根据用户请求加载网站页面时,检测网站页面中是否 具有预设功能特征; 如果具有, 则独立于网站页面显示与检测到的预设功能特征对应 的提示项; 并且, 响应用户对提示项的选择, 将浏览器当前显示的内容定位至与选择 的提示项所对应的内容, 使得用户可以快速地将网站页面定位至希望浏览的内容, 实 现了网页内容的快捷浏览, 避免了网页浏览时繁琐的操作过程, 提高了用户体验。
浏览器接收到用户对于网站页面的浏览请求后,加载用户请求的网站页面内的数 据, 并检测网站页面中是否具有预设功能特征, 如果有, 则可以显示检测到的预设功 能特征对应的提示项。例如,可以通过检测所述网站页面中是否包含具有预设功能的 节点元素来检测所述网站页面中是否具有预设功能特征。具体的,检测当前网站页面 的节点元素, 获取具有预设的功能特征的节点元素, 再根据处理后结果决定是否显示 提示项。
在实际应用中, 可以通过简单的文字匹配来获取具有预设功能特征的节点元素, 例如, 检测网站页面内的节点元素时, 检测到 "下一页"或 "next page"等文字时, 可以确定出现上述文字的元素为具有翻页功能特征的节点元素,即该页面具有翻页功 能特征, 可以显示对应的 "翻页"提示项。
再例如,也可以通过检测网站页面的内部对象是否具有预设的功能特征来获取具 有预设功能特征的节点元素, 例如, 检测到网站页面中的表单对象、提交按钮控件且 按钮文字为 "点评 "时, 可以确定上述对象为具有评论功能的节点元素, 则可以显示 对应的 "评论"提示项。
在本发明实施例中, 浏览器可以在需要时, 从服务器获取预设功能特征的信息, 或者, 也可以在浏览器所在的终端中读取预设功能特征的信息。从服务器获取预设功 能特征的信息时, 将产生数据流量从而给用户带来额外的开销, 因此, 优选地, 可以 在终端中读取预设功能特征的信息,在本发明实施例的一个优选实施方式中,可以在 终端中保存预设功能特征的信息,例如,可以将预设功能特征的信息保存在终端中相 应的配置文件中。进一步的, 为了使信息功能更加全面, 浏览器可以定时从服务器更 新保存的预设功能特征的信息。
相关技术中, 网站页面包含多种功能, 例如, 评论、 分享、 翻页, 以及数字链接 区等功能,在本发明实施例中,浏览器可以将网站页面中包含的功能特征提供给用户, 在浏览器中显示提示项, 供用户进行选择, 并根据用户的选择, 将浏览器显示的内容 更快地定位至用户选择的功能。在本发明实施例的一个优选实施方式中, 浏览器预设 的功能特征可以是网站页面中任何功能特征, 同时,用户可以根据使用习惯设置预设 功能特征, 以设置需要显示的提示项。优选地, 预设功能特征包括但不限于以下各项 中的至少一项: 打分、 评论、 分享、 翻页、 数字链接区。
在本发明实施例中, 浏览器可以响应用户对显示的提示项的选择,将浏览器显示 的内容定位至选择的提示项对应的内容,从而用户能够浏览相应的内容或进行相应的 操作。 浏览器中显示的提示项与网站页面相互独立, 直接显示在浏览器中, 每个功能 可以对应一个提示项,用户可以直接对提示项进行操作。在本发明实施例的一个优选 实施方式中, 提示项可以包括但不限于以下各项中的至少一项: 按钮、 标签、 链接、 图像。 在实际应用中, 提示项可以是任何可响应用户操作的可视元素。 例如, 网站页 面中的评论功能未显示在当前页面, 可以将 "评论 "功能提示给用户, 此时, 可以在 浏览器中显示一个按钮控件, 按钮控件上显示 "评论"的文字, 用户需要评论时, 可 以直接点击按钮控件, 而不需要滚动浏览器的滚动条, 响应用户的操作, 浏览器将显 示的内容定位至 "评论"功能所在的页面区域。
如果网站页面中部分具有预设功能的节点元素已显示在屏幕中时,为了避免重复 显示已经显示在屏幕中的具有预设功能特征的节点元素对应的提示项,在本发明实施 例的一个优选实施方式中, 显示与预设功能特征对应的提示项时,可以从获取到的具 有预设功能特征的节点元素中,获取当前未显示在浏览器中的具有预设功能特征的节 点元素, 并在浏览器中显示与当前未显示在浏览器中的预设功能特征对应的提示项。 通过本优选实施例,避免了提示已显示在屏幕中的预设功能特征,提供了有效且精确 的提示信息, 便于用户进行操作, 提高了用户体验。
在实际应用中,可以在浏览器或屏幕的任意位置显示上述提示项, 为了避免在屏 幕中间显示提示项妨碍用户浏览当前网页, 在本发明实施例的一个优选实施方式中, 显示与具有预设功能特征的节点元素对应的提示项时, 可以包括但不限于以下方式: 1 )在浏览器的顶部显示与具有预设功能特征的节点元素对应的提示项; 2)在浏览器 的底部显示与具有预设功能特征的节点元素对应的提示项; 3 ) 在浏览器的左侧显示 与具有预设功能特征的节点元素对应的提示项; 4) 在浏览器的右侧显示与具有预设 功能特征的节点元素对应的提示项。 并且, 可以将上述几种方式进行结合, 在各个位 置显示部分提示项。优选地, 浏览器可以为用户提供提示项显示方式的设置功能, 以 使用户根据使用习惯选择提示项的显示位置。通过本优选实施方式,在合理的位置显 示提示项, 便于用户浏览当前显示的页面, 并方便用户对提示项进行操作。
用户调整浏览器当前显示的页面时,或者浏览器对显示内容进行更新处理等情况 下, 浏览器中显示的页面将发生变化, 部分具有预设功能特征的节点元素将显示在屏 幕中, 部分显示在屏幕中的节点元素将不再继续显示在屏幕中。为了使用户能够方便 的对调整页面操作执行前已显示的节点元素进行操作,以及避免提示调整操作执行后 显示在屏幕中的具有预设功能特征的节点元素对应的提示项,在本发明实施例的一个 优选实施方式中, 当浏览器中显示的网页结构发生改变时,可以从获取到的具有预设 功能特征的节点元素中, 获取当前未显示在浏览器中的具有预设功能特征的节点元 素。在提示项对应的节点元素显示在浏览器时, 隐藏与显示在浏览器中的具有预设功 能特征的节点元素对应的提示项。
在本发明实施例的一个优选实施方式中, 为了提高提示项的显著性, 浏览器可以 根据当前浏览的网站页面的风格或色彩等因素, 设置提示项的显示效果, 以使提示项 的显示风格与网站页面区分开来, 从而增加提示项的明显性,便于用户对提示项进行 操作。
例如, 在相关技术中, 用户通过浏览器访问太平洋电脑网站的评测频道, 用户点 击 " IVB先睹为快! Intel三代 Core i5抢先评测"这篇文章, 用户希望能尽快了解三 代的 15 的性能和前几代相比提升有多大, 用户根据经验知道这些内容位于该文章的 最后一页。于是用户需要通过鼠标操作光标在屏幕上滑动多次,待光标滑至正确的位 置后, 点击 " 12"这个链接完成翻到尾页的动作。 在本发明实施例中, 如图 4所示, 当浏览器显示上述评测页面时, 页面下方同时显示了 "数字链接区"的提示按钮, 同 时并列显示的有 "评论"和 "翻页"按钮, 从而, 用户可以直接点击 "数字链接区" 提示按钮,浏览器接收到点击事件后,滚动页面到以显示数字链接区域 (如图 5所示), 点击链接 " 12"浏览页面尾页。 优选地, 页面滚动到 "数字链接区"显示后, 评论表 单 (form) 和下一页按钮显示在当前屏幕中, 对应的提示按钮也可以不再显示。
根据本发明还提供了一种网页内容的浏览装置,用以实现本发明上述实施例提供 的网页内容的浏览方法。
图 6是根据本发明实施例的网页内容的浏览装置的示意图, 如图 6所示, 该装置 主要包括: 检测模块 10、 显示模块 20和处理模块 30。 其中, 检测模块 10, 用于在 浏览器根据用户请求加载网站页面时,检测网站页面中是否具有预设功能特征; 显示 模块 20, 与检测模块 10相耦合, 用于在所述检测模块 10的检测结果为是时, 独立 于网站页面显示与检测到的预设功能特征对应的提示项,用于显示与具有预设功能特 征的节点元素对应的提示项; 以及, 处理模块 30, 用于响应用户对提示项的选择, 将浏览器当前显示的内容定位至与用户选择的提示项所对应的内容。
通过本发明实施例, 浏览器根据用户请求加载网站页面时, 检测模块 10检测网 站页面中是否具有预设功能特征; 如果是, 则显示模块 20独立于网站页面显示与检 测到的预设功能特征对应的提示项; 并且, 由处理模块 30响应用户对提示项的选择, 将浏览器当前显示的内容定位至与选择的提示项所对应的内容,使得用户可以快速地 将网站页面定位至希望浏览的内容, 实现了网页内容的快捷浏览,避免了网页浏览时 繁琐的操作过程, 提高了用户体验。
在实际应用中, 检测模块 10可以通过文字匹配来获取具有预设功能特征的节点 元素,例如,检测模块 10检测网站页面内的节点元素,在检测到"翻页"或" next page" 等文字时,可以确定出现上述文字的区域为具有翻页功能特征的节点元素。检测模块 10也可以通过检测网站页面的内部对象, 确定具有预设功能特征的节点元素, 例如, 检测模块 10检测到网站页面中的表单对象、 提交按钮控件时, 可以确定出现上述对 象的区域为具有评论功能的节点元素。
在本发明实施例中, 浏览器可以在需要时, 从服务器获取预设功能特征的信息, 或者, 也可以在浏览器所在的终端中读取预设功能特征的信息。从服务器获取预设功 能特征的信息时, 将产生数据流量从而给用户带来额外的开销, 因此, 可以浏览器的 配置文件中读取预设功能特征的信息,在本发明实施例的一个优选实施方式中, 如图 7所示,上述装置还可以包括:保存模块 40,用于在终端中保存预设功能特征的信息。 进一步的, 为了使信息功能更加全面, 浏览器可以从服务器更新保存的预设功能特征 的信息, 因此, 上述装置还可以包括: 更新模块 50, 用于从服务器更新保存的预设 功能特征的信息。
在本发明实施例中, 浏览器可以将网站页面中包含的功能特征提供给用户,在浏 览器中显示提示项, 供用户进行选择, 并根据用户的选择, 将浏览器显示的内容定位 至用户选择的功能。在本发明实施例的一个优选实施方式中, 浏览器预设的功能特征 可以是网站页面中任何功能特征, 同时, 用户可以根据使用习惯设置预设功能特征, 以设置需要显示的提示项。优选地,预设功能特征包括但不限于以下至少之一:打分、 评论、 分享、 翻页、 数字链接区。
在本发明实施例中, 处理模块 30可以响应用户对显示的提示项的选择, 将浏览 器显示的内容定位至选择的提示项对应的节点元素所对应的内容,从而用户能够浏览 响应的内容或进行相应的操作。 显示模块 20在浏览器中显示的提示项与网站页面相 互独立, 直接显示在浏览器中, 每个功能可以对应一个提示项, 用户可以直接对提示 项进行操作。 在本发明实施例的一个优选实施方式中, 显示模块 20显示的提示项可 以包括但不限于以下以至少之一: 按钮、 标签、 链接、 图像。 例如, 网站页面中的评 论功能未显示在当前页面, 可以将 "评论 "功能提示给用户, 此时, 显示模块 20可 以在浏览器中显示一个按钮控件,按钮控件上显示"评论"的文字,用户需要评论时, 可以直接点击按钮控件, 而不需要滚动浏览器的滚动条, 处理模块 30响应用户的操 作, 浏览器将显示的内容定位至 "评论"功能所在的页面区域。
网站页面中部分具有预设功能的节点元素已显示在屏幕中时,为了避免显示已经 显示在屏幕中的具有预设功能特征的节点元素对应的提示项,显示与具有预设功能特 征的节点元素对应的提示项时,可以从获取到的具有预设功能特征的节点元素中,判 断当前未显示在浏览器中的具有预设功能特征的节点元素,并在浏览器中显示与当前 未显示在浏览器中的具有预设功能特征的节点元素对应的提示项。因此,在本发明实 施例的一个优选实施方式中, 如图 8所示, 显示模块 20可以包括: 判断单元 202, 用于判断检测到的预设功能特征中, 是否包含当前显示区域未能显示的预设功能特 征; 显示单元 204, 与判断单元 202相耦合, 用于在判断结果为是时, 独立于网站页 面显示当前显示区域未能显示的预设功能特征所对应的提示项。 通过本优选实施例, 避免了提示已显示在屏幕中的具有预设功能特征的节点元素,提供了有效且精确的提 示信息, 便于用户进行操作, 提高了用户体验。
在实际应用中, 显示模块 20可以在浏览器或屏幕的任意位置显示上述提示项, 为了避免在屏幕中间显示提示项妨碍用户浏览当前网页,在本发明实施例的一个优选 实施方式中, 显示模块 20显示与具有预设功能特征的节点元素对应的提示项时, 可 以包括但不限于以下方式的任意组合: 1 ) 在浏览器的顶部显示与具有预设功能特征 的节点元素对应的提示项; 2) 在浏览器的底部显示与具有预设功能特征的节点元素 对应的提示项; 3 ) 在浏览器的左侧显示与具有预设功能特征的节点元素对应的提示 项; 4) 在浏览器的右侧显示与具有预设功能特征的节点元素对应的提示项。 并且, 可以将上述几种方式进行结合, 在各个位置显示部分提示项。优选地, 浏览器可以为 用户提供提示项显示方式的设置功能, 以使用户根据使用习惯选择提示项的显示位 置。通过本优选实施方式,在合理的位置显示提示项,便于用户浏览当前显示的页面, 并方便用户对提示项进行操作。
浏览器中显示的页面将发生变化的情况下,部分具有预设功能特征的节点元素将 显示在屏幕中, 部分显示在屏幕中的节点元素不再显示在屏幕中。为了使用户能够方 便的对调整页面前已显示的节点元素进行操作,以及避免提示调整后显示在屏幕中的 具有预设功能特征的节点元素对应的提示项, 浏览器中显示的网页结构发生改变时, 可以从获取到的具有预设功能特征的节点元素中,获取当前未显示在浏览器中的具有 预设功能特征的节点元素。在本发明实施例的一个优选实施方式中, 如图 9所示, 上 述装置还可以包括: 隐藏模块 60, 用于在提示项对应的功能特征显示在所述浏览器 时, 隐藏与当前显示在浏览器中的预设功能特征对应的提示项。
根据本发明实施例,还提供了一种浏览器,包括本发明上述实施例提供的网页内 容的浏览装置, 可以实现本发明上述实施例提供的网页内容的浏览方法。
下面通过具体实例进行描述。
根据本发明实施例,提供了一种网页内容的浏览方法,在不改变页面排版的前提 下, 通过对页面的内容的智能感知和判断, 针对超文件标记语言 (Hypertext Markup Language, 简称为 HTML) 网页中常见的功能, 包括翻页、 数字页面链接区、 评论、 分享、 打分等, 在屏幕的显示网页视图区域的底部(或其它固定的区域)提供独立于 页面的浏览提示按钮 (或其它可响应用户操作的可视元素)。
浏览器接收到用户对于网站页面的浏览请求后,加载用户请求的网站页面内的数 据时, 进行内容的感知检测, 对定义的网页功能进行检测, 检测当前网页具备其中某 项或者多项功能特征时, 为该网页提供对应的一项或者多项浏览提示, 例如, 以长方 形快捷按钮方式列在网页视图区域的底部, 浏览提示不受滚动条的控制常驻底部。进 一步的, 在某项功能得以显示时, 将对应的浏览提示隐藏, 该项功能不在当前显示区 域时恢复显示对应的浏览提示。
在具体实施过程中, 选定一种提示控件。 在本发明实施例中, 提示控件为按钮, 但任何可接受用户操作事件的元素例 (如标签、 链接、 图像) 都可以作为提示控件。 在网页的显示区域里设定一个提示区域。在本发明实施例中提示区域为浏览器显示区 域的底部, 在实际应用中, 也可以是顶部、 左侧、 右侧等区域。 优选地, 提示区域内 的提示控件使用色差或额外的风格, 以与正常显示网页的内容进行区分。
并且, 为常见的网页功能进行定义, 定义使用配置文件保存在终端中, 并在远程 服务器上有最新的版本。浏览器每次重新启动时可按一定周期频率从远程服务器上下 载更新最新定义。 如下是几个定义, 本发明实施例包括但不限于以下定义: 1 )翻页: 关键词为 "下一页" "下页" "翻页 " "next page""next",是一个链接或者按钮(button) 节点; 2)数字页面链接区:内容为一系列前后相连的数字链接; 3 )评论:在表单(form) 区域内含有输入框, 且含有关键词 "评论" "点评" "留言" "回复" "发表"之一; 4) 分享: 关键字 "分享", 或者链接地址关键词 (例如, "qzshare/cgi_qzshare_onekey?") 等; 5 ) 打分: 关键词 "打分"。
进一步的, 可在浏览器设定一个设置项, 以设定提示功能的开启或关闭, 让用户 自行选择是否需要进行提示。
本发明实施例提供的网页内容的浏览方法包括以下几个步骤:
步骤一, 用户点击某个网页链接, 浏览器响应用户的网站页面浏览请求, 浏览器 获取用户请求的网站页面的数据;
步骤二, 浏览器在加载网站页面时, 判断网站页面中是否具有预设功能特征。进 一步的,还可以将判别结果和满足判别依据的元素保存起来。例如,检测到链接 link、 按钮 button、 表单 form等元素时, 可以确定含有网站页面含有相应的功能特征。 优 选地, 当页面的文档对象模型 dom树结构发生变化时, 可以重新进行判别;
步骤三, 浏览器进行正常的排版动作, 并进行正常的渲染显示;
步骤四, 浏览器显示完网页内容后, 检查上述检测的结果, 当有网站页面具有预 设功能特征时, 检查其对应的判别依据的节点元素对应的内容是否在当前显示区域。 如果一个或多个元素不在当前显示区域,则在独立于网页视图的可配置位置显示对应 定义的一个或多个提示按钮或其他提示元素;
优选地, 每一次执行步骤三后, 将触发重新执行步骤四;
步骤五, 浏览器响应用户对提示按钮的操作, 当接收到用户点击提示按钮的事件 时, 浏览器将当前显示的内容定位至与选择的提示按钮所对应的内容;
步骤六, 浏览器根据用户的进一步操作, 完成翻页、 打分、 分享、 评论输入等操 作。
通过本发明实施例,用户浏览新闻或者文章等网页时,可以一目了然知道当前页 面是否后续有多页, 是否有评论或者分享等功能。用户不必在看完整篇文章而能提前 获知当前网页提供的常见功能, 便能在了解文章大意时就能很快进行翻页、 分享、 评 论或者打分等操作, 降低了手机浏览的操作复杂度, 增加了浏览速度, 一定程度上也 加大了浏览知识面。
从以上的描述中, 可以看出, 本发明实现了如下技术效果: 浏览器根据用户请求 加载网站页面时, 检测网站页面中是否具有预设功能特征; 如果是, 则独立于网站页 面显示与检测到的预设功能特征对应的提示项; 并且, 响应用户对提示项的选择, 将 浏览器当前显示的内容定位至与选择的提示项所对应的内容,使得用户可以快速地将 网站页面定位至希望浏览的内容, 实现了网页内容的快捷浏览,避免了网页浏览时繁 琐的操作过程, 提高了用户体验。
显然,本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下,可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任 何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明,对于本领域的技 术人员来说, 本发明可以有各种更改和变化。凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内本领域普通技术人 员可以意识到, 结合本文中所公开的实施例描述的各示例的单元及算法步骤, 能够以 电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件 方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个 特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明 的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、 装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统、 装置和方法, 可 以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示意性的, 例如, 所 述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可以有另外的划分方式, 例如 多个单元或组件可以结合或者可以集成到另一个系统, 或一些特征可以忽略, 或不执 行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些 接口, 装置或单元的间接耦合或通信连接, 可以是电性, 机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显 示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到 多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例 方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可以 是各个单元单独物理存在, 也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以 存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或 者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现 出来, 该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机 设备 (可以是个人计算机, 服务器, 或者网络设备等) 或处理器 (processor)执行本 发明各个实施例所述方法的全部或部分步骤。 而前述的存储介质包括: U盘、移动硬 盘、只读存储器(ROM, Read-Only Memory ) 随机存取存储器(RAM, Random Access Memory), 磁碟或者光盘等各种可以存储程序代码的介质。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限于此, 任 何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保 护范围为准。

Claims

权 利 要 求
1. 一种网页内容的浏览方法, 其特征在于, 包括:
浏览器根据用户请求加载网站页面时,检测所述网站页面中是否具有预设功 能特征;
如果具有预设功能特征,则独立于所述网站页面显示与检测到的所述预设功 能特征对应的提示项; 以及,
响应用户对所述提示项的选择,将所述浏览器当前显示的内容定位至与所述 选择的提示项对应的内容。
2. 根据权利要求 1所述的方法, 其特征在于, 所述独立于所述网站页面显 示与检测到的所述预设功能特征对应的提示项, 包括:
判断检测到的所述预设功能特征中,是否包含所述网站页面当前显示区域未 能显示的预设功能特征;
如果包含,则独立于所述网站页面显示所述当前显示区域未能显示的预设功 能特征所对应的提示项。
3. 根据权利要求 1或 2所述的方法, 其特征在于, 所述方法还包括: 隐藏与当前显示在所述网站页面上的预设功能特征对应的提示项。
4. 根据权利要求 1或 2所述的方法, 其特征在于, 所述检测所述网站页面 中是否具有预设功能特征, 包括下列至少一种方式:
检测所述网站页面中是否包含具有预设功能特征的节点元素; 或, 检测所述网站页面的内部对象是否具有预设功能特征。
5. 根据权利要求 1或 2所述的方法, 其特征在于, 所述方法还包括: 从所述浏览器所在的终端中获取所述预设功能特征的信息; 和 /或 从服务器获取所述预设功能特征的信息。
6. 根据权利要求 1或 2所述的方法, 其特征在于, 所述预设功能特征包括 以下各项中的至少一项: 打分、 评论、 分享、 翻页、 或数字链接区。
7. 一种网页内容的浏览装置, 其特征在于, 包括:
检测模块, 用于在浏览器根据用户请求加载网站页面时, 检测所述网站页面 中是否具有预设功能特征;
显示模块, 用于在所述检测模块的检测结果为是时, 独立于所述网站页面显 示与检测到的所述预设功能特征对应的提示项; 以及
处理模块, 用于响应用户对所述提示项的选择, 将所述浏览器当前显示的内 容定位至与所述选择的提示项对应的内容。
8. 根据权利要求 7所述的装置, 其特征在于, 所述显示模块包括: 判断单元, 用于判断检测到的所述预设功能特征中, 是否包含所述网站页面 当前显示区域未能显示的预设功能特征;
显示单元, 用于在所述判断单元的判断结果为是时, 独立于所述网站页面显 示所述当前显示区域未能显示的预设功能特征所对应的提示项。
9. 根据权利要求 7或 8所述的装置, 其特征在于, 所述装置还包括: 隐藏模块,用于隐藏与当前显示在所述网站页面上的预设功能特征对应的提 示项。
10.—种浏览器, 其特征在于, 包括: 权利要求 7至 9中任一项所述的网页 内容的浏览装置。
11.一种具有处理器可执行的程序代码的计算机可读介质, 在被执行时, 所 述程序代码使得处理器执行下述步骤:
浏览器根据用户请求加载网站页面时,检测所述网站页面中是否具有预设功 能特征;
如果具有预设功能特征,则独立于所述网站页面显示与检测到的所述预设功 能特征对应的提示项; 以及,
响应用户对所述提示项的选择,将所述浏览器当前显示的内容定位至与所述 选择的提示项对应的内容。
PCT/CN2013/078340 2012-08-16 2013-06-28 网页内容的浏览方法、装置和浏览器 WO2014026510A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210293372.9 2012-08-16
CN201210293372.9A CN102819602B (zh) 2012-08-16 2012-08-16 网页内容的浏览方法、装置和浏览器

Publications (1)

Publication Number Publication Date
WO2014026510A1 true WO2014026510A1 (zh) 2014-02-20

Family

ID=47303713

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/078340 WO2014026510A1 (zh) 2012-08-16 2013-06-28 网页内容的浏览方法、装置和浏览器

Country Status (2)

Country Link
CN (1) CN102819602B (zh)
WO (1) WO2014026510A1 (zh)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819602B (zh) * 2012-08-16 2015-02-18 优视科技有限公司 网页内容的浏览方法、装置和浏览器
CN103942231B (zh) * 2013-01-18 2019-01-15 联想(北京)有限公司 一种网页的显示方法及电子设备
CN104021341B (zh) * 2013-02-28 2017-06-27 联想(北京)有限公司 安全检测方法及装置
CN103150384B (zh) * 2013-03-18 2016-12-28 北京奇虎科技有限公司 预加载浏览网页的服务器和方法
CN103678496B (zh) * 2013-11-18 2018-01-30 乐视网信息技术(北京)股份有限公司 提供调整检索页筛选显示的方法和系统
CN104123070B (zh) * 2014-06-16 2019-01-15 联想(北京)有限公司 一种信息处理方法及电子设备
CN104268206B (zh) * 2014-09-23 2018-03-30 可牛网络技术(北京)有限公司 页面资源操作界面的展示方法、装置和移动终端
CN104866534A (zh) * 2015-04-28 2015-08-26 北京奇虎科技有限公司 页面展示方法及装置
CN106973075B (zh) * 2016-01-14 2019-05-28 广州市动景计算机科技有限公司 分享评论方法及系统、域名转码方法、客户端以及服务器
CN106341554B (zh) * 2016-11-29 2020-01-07 努比亚技术有限公司 一种数据内容的快速查找方法、装置及移动终端
CN107679214B (zh) * 2017-10-16 2020-09-22 深圳视界信息技术有限公司 链接定位方法、装置、终端与计算机可读存储介质
CN112417348A (zh) * 2019-08-23 2021-02-26 珠海格力电器股份有限公司 功能列表的生成方法、存储介质及计算机设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298595A (zh) * 2010-06-23 2011-12-28 北京爱国者信息技术有限公司 一种浏览器导引系统及其导引方法
CN102541882A (zh) * 2010-12-17 2012-07-04 中国移动通信集团公司 网页导航页面和网页的显示方法及移动通信终端
CN102819602A (zh) * 2012-08-16 2012-12-12 优视科技有限公司 网页内容的浏览方法、装置和浏览器

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419620A (zh) * 2008-12-03 2009-04-29 腾讯科技(深圳)有限公司 一种屏蔽网页元素的方法及其装置
CN101782914A (zh) * 2009-06-23 2010-07-21 北京搜狗科技发展有限公司 一种对网页信息进行提示的方法及系统
CN102043786A (zh) * 2009-10-14 2011-05-04 英业达股份有限公司 配置快速键予页面转换元素的浏览系统及其方法
CN102110124B (zh) * 2009-12-24 2015-04-29 腾讯科技(深圳)有限公司 一种rss订阅的方法、装置和系统
CN106202231A (zh) * 2011-09-30 2016-12-07 广州市动景计算机科技有限公司 一种加载注释内容的方法及装置
CN102629251A (zh) * 2012-02-27 2012-08-08 沈文策 一种网页信息显示方法和装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298595A (zh) * 2010-06-23 2011-12-28 北京爱国者信息技术有限公司 一种浏览器导引系统及其导引方法
CN102541882A (zh) * 2010-12-17 2012-07-04 中国移动通信集团公司 网页导航页面和网页的显示方法及移动通信终端
CN102819602A (zh) * 2012-08-16 2012-12-12 优视科技有限公司 网页内容的浏览方法、装置和浏览器

Also Published As

Publication number Publication date
CN102819602A (zh) 2012-12-12
CN102819602B (zh) 2015-02-18

Similar Documents

Publication Publication Date Title
WO2014026510A1 (zh) 网页内容的浏览方法、装置和浏览器
US10444961B2 (en) Hover-based interaction with rendered content
US9871903B2 (en) Mobile computing terminal with more than one lock screen and method of using the same
US9189564B2 (en) Method and apparatus for providing user interface for internet service
US20180137207A1 (en) System and method for monitoring changes in databases and websites
US8341543B2 (en) Method and apparatus of scrolling a document displayed in a browser window
US11200293B2 (en) Method and system for controlling presentation of web resources in a browser window
US20110197116A1 (en) Method and apparatus for selecting hyperlinks
US20120287039A1 (en) User interface for application selection and action control
US20150058766A1 (en) Information processing methods and electronic devices
US20150346919A1 (en) Device, Method, and Graphical User Interface for Navigating a Content Hierarchy
JP2015210587A (ja) 情報処理装置、プログラム及び情報出力方法
KR20140078629A (ko) 인플레이스 방식으로 값을 편집하는 사용자 인터페이스
CN105335071A (zh) 一种页面元素的显示方法及装置
TWI529545B (zh) Screening methods and devices for business objects
CN104657451A (zh) 页面的处理方法及装置
JP2014149860A (ja) 携帯型多機能端末の情報表示方法及びそれを用いた情報表示システム、並びに携帯型多機能端末
US20220179532A1 (en) Method and device for responding to user operation
JP6679640B2 (ja) 情報表示プログラム、情報表示装置、情報表示方法および配信装置
CN104321732A (zh) 用户接口装置、搜索方法和程序
US20160171567A1 (en) Universal feedback system with site-local data acquisition and presentation
JP2017107436A (ja) 情報表示プログラム、情報表示装置、情報表示方法及び配信装置
JP6091231B2 (ja) 情報処理装置、コンピュータプログラム
JP6739177B2 (ja) 情報表示プログラム、情報表示方法及び制御装置
JP6158903B2 (ja) 情報表示プログラム、情報表示装置、情報表示方法及び配信装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13829274

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 22/04/2015)

122 Ep: pct application non-entry in european phase

Ref document number: 13829274

Country of ref document: EP

Kind code of ref document: A1