Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Double-WebView customized page display method and system

A page and new page technology, applied in the field of mobile Internet, can solve the problems of increasing maintenance costs, reducing the speed of opening web pages, web page caching and saving the impact of web page source code, etc., to achieve the effect of no overhead

Active Publication Date: 2014-09-10
ALIBABA (CHINA) CO LTD
View PDF2 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, both of the existing implementations have major deficiencies
[0007] First of all, if the webpage is customized through the manufacturer's server, some background servers must maintain the customization function of the page, thus increasing the maintenance cost; and once the server has a problem, it will affect the customization function of the webpage
At the same time, through this form of transfer, it will also reduce the speed of opening the webpage.
[0008] Secondly, modifying the DOM tree by injecting JS or other means will destroy the DOM tree structure of the original web page and affect the functions of web page caching and saving web page source code.
Since the old page has been changed, the cached DOM tree cannot be used when the web page is reopened, and the process of saving the source code of the web page is actually to re-parse the DOM tree into a string. Therefore, the original web page cache and save the source The code function loses its effect
At the same time, using this implementation method of injecting JS or modifying the DOM tree cannot block the advertisements controlled by web page JS after customization
[0009] Finally, neither of the two existing implementations of webpage customization can seamlessly switch between entering and exiting the customization mode

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Double-WebView customized page display method and system
  • Double-WebView customized page display method and system
  • Double-WebView customized page display method and system

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0089] An existing mobile terminal browser assists in page customization through a middleware server, such as forum mode, novel reading mode customization, etc. However, with the widespread application of WIFI, the speed may be reduced through this transfer method. At the same time, this will lead to the coupling between the client and the server, and some uncertain factors will also cause the browser's middleware server to fail to operate normally, so that these functions that require custom services cannot be used. However, the method for displaying customized pages by using the dual WebView provided by the present invention can be customized without the support of the server, so it will not be affected by the performance of the server.

example 2

[0091] Assume that a certain customization mode is completed locally on the browser client by injecting JS to modify the DOM tree of the web page. When you want to exit the customization mode, you can only refresh the page at this time, or remove the modification to the DOM tree. Refreshing is time-consuming, and deleting the modification of the DOM tree also requires a large amount of JS, which consumes machine resources, and because of this time-consuming JS operation, seamless switching cannot be achieved.

[0092] However, using the double WebView method provided by the present invention to display customized pages, when you want to exit the customized mode, you only need to exchange the WebView of the customized page with the WebView of the original webpage, without executing any JS. mode, and can be realized by exchanging the positions of the WebView of the original web page and the WebView of the customized page.

example 3

[0094] Assume that a custom mode is implemented locally on the browser client by injecting JS to modify the DOM tree of the webpage, but the JS of the original page starts some timers, and these timers will pop up an advertisement every once in a while. In this case, the customized page will also display these advertisements, because the customized page cannot determine these advertisements, and cannot hide or delete these advertisements.

[0095] And use the double WebView method that the present invention provides to display the customized page, the advertisement popping up of the original page will only be displayed in the original page, but because the original page is covered by another new WebView, that is, it is covered by the WebView of the customized page, so it will not be displayed on the original page. Custom pages have no effect.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a double-WebView customized page display method and system. The method includes that a template type of a customized page is determined according to loaded original webpage information; a new WebView is established according to the determined template type of the customized page, and a customized page template which is determined according to the original webpage information is loaded on the new established WebView; a built-in java script (JS) object is established in the new WebView so that the customized page template which operates on the new WebView can visit a WebView of an original webpage to obtain page data of the original webpage; according to the obtained page data of the original webpage, a new page is generated in the new WebView to serve as the customized page; the customized page is displayed. By means of the double-WebView customized page display method and system, webpage customization can be achieved without support of a custom server and modification of an original page, seamless switching of the original page and the customized page can be achieved, any time costs are not required basically, and webpage advertisements can be shielded.

Description

technical field [0001] The present invention relates to the technical field of mobile Internet, and more specifically, relates to a method and system for displaying customized pages with dual WebViews. Background technique [0002] With the development of mobile Internet technology, more and more people like to browse the web through mobile terminal devices and enjoy the convenience of putting the Internet in their pockets. Due to the hardware limitation of the mobile terminal equipment, the browsing effect of the browser is far inferior to that of the PC browser. Moreover, if the webpage browsed on the PC browser is copied to the browser of the mobile terminal equipment, it will be difficult to It will consume a lot of traffic. Therefore, at present, the browsers of many mobile terminal devices have realized the customization of web pages. [0003] In general, there are two main ways for browsers to customize web pages: [0004] 1. The user's browser's request for the we...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44G06F40/143
CPCG06F9/451G06F40/186G06F40/143G06F16/972
Inventor 梁捷俞永福何小鹏朱顺炎马妙魁张津伟
Owner ALIBABA (CHINA) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products