CN103377194A - Method, device and browser for accelerating access to web pages - Google Patents

Method, device and browser for accelerating access to web pages Download PDF

Info

Publication number
CN103377194A
CN103377194A CN2012101096178A CN201210109617A CN103377194A CN 103377194 A CN103377194 A CN 103377194A CN 2012101096178 A CN2012101096178 A CN 2012101096178A CN 201210109617 A CN201210109617 A CN 201210109617A CN 103377194 A CN103377194 A CN 103377194A
Authority
CN
China
Prior art keywords
client
content
browser
resource content
resource
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
CN2012101096178A
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.)
Suzhou Jingyihui Information Technology Co., Ltd.
Original Assignee
SUZHOU INDUSTRIAL PARK JINYI 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 SUZHOU INDUSTRIAL PARK JINYI TECHNOLOGY Co Ltd filed Critical SUZHOU INDUSTRIAL PARK JINYI TECHNOLOGY Co Ltd
Priority to CN2012101096178A priority Critical patent/CN103377194A/en
Publication of CN103377194A publication Critical patent/CN103377194A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method, a device and a browser for accelerating access to web pages. The method, the device and the browser have the advantages that resource contents in the web pages are reserved in a client side, so that the resource contents which are reserved in the client side do not need to be downloaded from a network side when the web pages on the network side are opened on the client side, loaded contents of the web pages are reduced, the web page loading speed is increased, and the user experience is improved; the resource contents can be script contents or cascading style sheet contents in the web pages or combinations of the script contents and the cascading style sheet contents in the web pages.

Description

Method, device and the browser of acceleration of web page access
Technical field
The present invention relates generally to computer realm, especially method, device and the browser of the access of computer realm acceleration of web page.
Background technology
Development along with RIA (Rich Internet Applications) rich internet application technology, the framework that many scripts occurred, such as JQuery, ExtJs and Dojo, these frameworks can greatly reduce the construction cycle that the software systems front end represents layer, and provide abundant user to experience, in enterprise application software and internet works software system, be widely used, simultaneously, some enterprises also develop own framework according to the demand of self, the resource file sizes such as the script of these frameworks and the realization relative program realized with these frameworks and Cascading Style Sheet often reach hundreds thousand of bytes, even reach several megabyte, and the characteristics of these resource files are when being each access or refreshed web page, all to again download, thereby increase period of reservation of number, waste simultaneously local computer and network bandwidth resources.
In order to address the above problem, application number is 201110278365.7 patent of invention discloses a kind of fast access webpage in March, 2012 method, device and a kind of browser, its way is that all web datas are pre-loaded to local, when initiating web-page requests, use local web data, this way promotes the access speed of webpage really greatly, but abandoned simultaneously the characteristic of B/S (Browser/Server) framework of webpage, significant problem is, if the partial content of webpage is to need server according to certain service logic Dynamic Generation, what then the device of the method and correspondence and browser used is the page of client, produce without server, so can't realize this dynamic content.
Application number is that 200910238934.8 patent of invention discloses method, device and the built-in browser that a kind of script is processed in July, 2010, it judges by syntax tree whether the script that current web page uses was front using, used and then directly used local script, otherwise download from server end, and the script of downloading is kept at local for next time.This invention has reduced the chance of the identical script of repeated downloads, but will be from the server end Download Script, and the number of times of downloading depends on client-cache space and term of validity setting, and along with increasing that different web pages is accessed, same script file download time also can increase.
Same, to be 200810224605.3 patent of invention in March, 2009 also realized the script processing procedure of the patent of invention of similar application number 200910238934.8 to application number in the disclosed method, but increased the caching process of Cascading Style Sheet and image content, certainly also there are identical with it problems and shortcomings, but also have following problem:
1. when the resource content in the server changes but is used for sign and distinguishes the resource name of resource or ID and do not change, can cause client can not upgrade such content;
2. all to compare each DOM node during each loading content, for the more page of the DOM node of complexity, can take the more cpu resource of client.
Summary of the invention
The present invention proposes a kind of method, device and browser of acceleration of web page access, by the resource content in the webpage is retained in client, thereby client is when opening the webpage of network-side, do not need the resource content that existed from the network side download client again, then reduce the loading content of webpage, improve the loading velocity of webpage, strengthen the user and experience; Described resource content can be the perhaps combination of the two in the content for script, Cascading Style Sheet in the webpage.
In order to reach above-mentioned technique effect, the present invention proposes a kind of method of acceleration of web page access, comprising:
By a kind of mode, mode such as browser plug-in, installation procedure or download, resource content in the webpage is retained in client, and this resource content is related with browser or browser component, make webpage when needs use this resource content, directly use the resource content of client, and needn't download these resource contents from network side again; Simultaneously, for the resource content that guarantees client keeps up-to-date version, browser or browser component are before loading the client resource content, whether by Network Check active client resource content need upgrading, if the resource content of the upgrading updating content client that provides by network side is provided then if also needing.
According to the method for above-mentioned acceleration of web page access, the present invention proposes a kind of device of acceleration of web page access, comprising:
Resource module is used for management and bearing resource content, can resource content be retained in client by it;
Initialization module for the resource content of client is related with browser or the browser component of client, makes webpage can directly use the resource content of client;
Whether the upgrading module needs upgrading for detection of the client resource content, if, the resource content of the upgrading updating content client that then provides by network side.
By the device of above-mentioned acceleration of web page access, the present invention proposes a kind of browser of acceleration of web page access, and this browser has also used the device of above-mentioned acceleration of web page access except the function that possesses generic browser.
Description of drawings
Fig. 1 is the structural representation of the device of acceleration of web page access of the present invention;
Fig. 2 is the structural representation of the browser of acceleration of web page access of the present invention;
Fig. 3 is the process flow diagram of the method for acceleration of web page access of the present invention.
Embodiment
Clearer for what purpose of the present invention, technical scheme and advantage were expressed, be described in further details again below by specific embodiment.
" this locality " of below mentioning is equivalent to " client ".
Consider in conjunction with acceleration of web page visit to device and browser illustrate that the method for acceleration of web page access of the present invention can be more straightforward, give unnecessary details in order to reduce simultaneously, present embodiment is at first realized the device of acceleration of web page access, then realize a browser with this device, the method for accessing by the operating process explanation acceleration of web page of browser again.
Use resource content in following examples and comprise content for script and Cascading Style Sheet content.
The device of acceleration of web page access.
Please refer to Fig. 1, the device 4 of acceleration of web page access has comprised resource module 41, initialization module 42 and upgrading module 43.
Wherein resource module 41 can have three kinds of implementations, first kind of way, content for script and Cascading Style Sheet content are built in the program that realizes this device as character string independently, preserve with string variable, by script attribute and the Cascading Style Sheet attribute interface as extraneous access resources content, when extraneous access script attribute or Cascading Style Sheet attribute, corresponding its corresponding string variable value of access then.
The second implementation of resource module 41, that content for script and Cascading Style Sheet content composition local file are preserved, by script attribute and the Cascading Style Sheet attribute interface as extraneous access resources content, when extraneous access script attribute or Cascading Style Sheet attribute, corresponding its corresponding file content of access then.
In order to strengthen the security of local content for script, prevent the people for distorting, can increase the encrypt and decrypt function on the basis of the second implementation of resource module 41, so that be kept at the content of local content for script for encrypting.This is the third implementation of resource module 41.
Initialization module 42 provides an external interface, and its return results is one or more content for script or Cascading Style Sheet content.
Upgrading module 43 provides an external interface, and this interface then checks by the interconnection network side whether the local resource content needs upgrading when being called, if, the local resource content that the upgrading updating content that then provides by network side is corresponding.
The browser of acceleration of web page access.
Please refer to Fig. 2, the browser 1 of realizing is comprised of the device 4 of browser user interface 2, browser kernel 3 and acceleration of web page access.
Wherein browser user interface 2 provides URL address input and the browser interface function of routine such as refreshes and carry out alternately with the function that browser kernel 3 provides; Browser kernel 3 can be the browser kernel of increasing income of commonly using, such as Webkit, realize webpage parsing, play up and the functions such as execution of script.
After browser 1 was unlocked, browser 1 called the upgrading module interface that the device 4 of acceleration of web page access provides.
After the user is by browser 1 input URL, browser 1 calls the initialization interface that the initialization module 43 in the device 4 of acceleration of web page access provides, resource content is loaded into the webpage from this locality, then load webpage corresponding to URL, and finish the follow-up page by browser kernel 3 and deal with the work, comprise and play up, carry out script etc.
The method of acceleration of web page access.
Please refer to Fig. 3, we illustrate the implementation procedure of the method for acceleration of web page access by the browser of realizing with foregoing.
Step 1: browser brings into operation.
Step 2: call the upgrading module interface, refer to that browser calls the upgrading module interface that the device of acceleration of web page access provides.
Step 3: the interconnection network side detects, and the upgrading module interface will check whether the local resource content needs upgrading by the interconnection network side.
Step 4: if need upgrading, then execution in step 5, otherwise execution in step 6.
Step 5: by network side updating content local content, refer to the upgrading content by providing from network side, the resource content that upgrading is local.
Step 6: the user inputs the URL address, refers to the user by the web page address of browser input needs access, after the affirmation, and execution in step 7.
Step 7: call the initialization module interface, refer to that browser calls the initialization module interface that the device of acceleration of web page access provides.
Step 8: return the local resource content, refer to that the initialization module interface in the device of acceleration of web page access returns local resource content.
Step 9: resource content is written into webpage, refers to that the resource content that browser returns step 8 is written in webpage corresponding to URL.
Step 10: the downloading web pages content, refer to URL address and other correlation parameters are passed to browser kernel, browser kernel is from network side downloading web pages content.
Step 11: by the browser kernel displayed web page, refer to that browser kernel is by the web page contents of downloading and the resource content displayed web page that is written into.
Step 12: finish, procedure finishes.
The realization of method, device or browser by the access of above acceleration of web page, resource content in the webpage can be retained in client, thereby client is when opening the webpage of network-side, do not need the resource content that existed from the network side download client again, then reduce the loading content of webpage, improve the loading velocity of webpage, strengthen the user and experience.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. the method for an acceleration of web page access is characterized in that, in advance resource content is placed client, and related with browser or the browser component of client, and webpage directly uses the resource content of client when needed.
2. the method for claim 1 is characterized in that, described resource content can be the perhaps combination of the two in the content for script, Cascading Style Sheet in the webpage.
3. the method for claim 1 is characterized in that, described resource content is placed client, can but be not limited to by the mode of plug-in unit, installation procedure or download resource content is retained in client.
4. the method for claim 1 is characterized in that, described webpage needn't be downloaded the resource content that has been present in client from server again.
5. the method for claim 1 is characterized in that, also comprises a resource content checking process, be used for to check whether the resource content of client needs upgrading, if, the resource content of the upgrading updating content client that then provides by network side.
6. the device of acceleration of web page access, right to use requires the method for 1-5, it is characterized in that, comprising:
Resource module is used for management and bearing resource content, can resource content be retained in client by it;
Initialization module for the resource content of client is related with browser or the browser component of client, makes webpage can directly use the resource content of client;
Whether the upgrading module needs upgrading for detection of the client resource content, if, the resource content of the upgrading updating content client that then provides by network side.
7. the browser of an acceleration of web page access is characterized in that, comprises the device of acceleration of web page access claimed in claim 6.
CN2012101096178A 2012-04-16 2012-04-16 Method, device and browser for accelerating access to web pages Pending CN103377194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101096178A CN103377194A (en) 2012-04-16 2012-04-16 Method, device and browser for accelerating access to web pages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101096178A CN103377194A (en) 2012-04-16 2012-04-16 Method, device and browser for accelerating access to web pages

Publications (1)

Publication Number Publication Date
CN103377194A true CN103377194A (en) 2013-10-30

Family

ID=49462324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101096178A Pending CN103377194A (en) 2012-04-16 2012-04-16 Method, device and browser for accelerating access to web pages

Country Status (1)

Country Link
CN (1) CN103377194A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657499A (en) * 2015-03-11 2015-05-27 网易(杭州)网络有限公司 Webpage loading method and device of client-side APP (Application)
CN105512278A (en) * 2015-12-04 2016-04-20 小米科技有限责任公司 Webpage display method and device
CN105634972A (en) * 2016-01-29 2016-06-01 四川长虹电器股份有限公司 Method for improving access efficiency of Web client
CN107784230A (en) * 2017-02-16 2018-03-09 平安科技(深圳)有限公司 The restorative procedure and device of page leak
CN113713378A (en) * 2021-09-02 2021-11-30 北京百度网讯科技有限公司 Content generation method and device
CN114780164A (en) * 2022-02-28 2022-07-22 深圳开源互联网安全技术有限公司 Method and system for screening webpage information based on browser plug-in

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030009563A1 (en) * 1997-07-31 2003-01-09 At&T Corp. Method for client-side inclusion of data elements
CN101382958A (en) * 2008-10-21 2009-03-11 深圳华为通信技术有限公司 Web page loading method and device
CN100550013C (en) * 2004-11-30 2009-10-14 阿尔卡特公司 The method of client computer video data
CN101763357A (en) * 2008-11-13 2010-06-30 北京搜狗科技发展有限公司 Method and system for browser to load internet resources
CN102375882A (en) * 2011-09-19 2012-03-14 奇智软件(北京)有限公司 Method, device and browser for rapidly accessing webpage

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030009563A1 (en) * 1997-07-31 2003-01-09 At&T Corp. Method for client-side inclusion of data elements
CN100550013C (en) * 2004-11-30 2009-10-14 阿尔卡特公司 The method of client computer video data
CN101382958A (en) * 2008-10-21 2009-03-11 深圳华为通信技术有限公司 Web page loading method and device
CN101763357A (en) * 2008-11-13 2010-06-30 北京搜狗科技发展有限公司 Method and system for browser to load internet resources
CN102375882A (en) * 2011-09-19 2012-03-14 奇智软件(北京)有限公司 Method, device and browser for rapidly accessing webpage

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657499A (en) * 2015-03-11 2015-05-27 网易(杭州)网络有限公司 Webpage loading method and device of client-side APP (Application)
CN105512278A (en) * 2015-12-04 2016-04-20 小米科技有限责任公司 Webpage display method and device
CN105634972A (en) * 2016-01-29 2016-06-01 四川长虹电器股份有限公司 Method for improving access efficiency of Web client
CN107784230A (en) * 2017-02-16 2018-03-09 平安科技(深圳)有限公司 The restorative procedure and device of page leak
WO2018149374A1 (en) * 2017-02-16 2018-08-23 平安科技(深圳)有限公司 Page vulnerability remediation method and device
CN107784230B (en) * 2017-02-16 2019-06-07 平安科技(深圳)有限公司 The restorative procedure and device of page loophole
CN113713378A (en) * 2021-09-02 2021-11-30 北京百度网讯科技有限公司 Content generation method and device
CN114780164A (en) * 2022-02-28 2022-07-22 深圳开源互联网安全技术有限公司 Method and system for screening webpage information based on browser plug-in
CN114780164B (en) * 2022-02-28 2023-04-25 深圳开源互联网安全技术有限公司 Method and system for screening webpage information based on browser plug-in

Similar Documents

Publication Publication Date Title
US10567407B2 (en) Method and system for detecting malicious web addresses
US8527862B2 (en) Methods for making ajax web applications bookmarkable and crawlable and devices thereof
US20130212465A1 (en) Postponed rendering of select web page elements
US20070113237A1 (en) Method and device for event communication between documents
CN103377194A (en) Method, device and browser for accelerating access to web pages
US20100251084A1 (en) Input content to application via web browser
US10877825B2 (en) System for offline object based storage and mocking of rest responses
CN112637361B (en) Page proxy method, device, electronic equipment and storage medium
US9264507B2 (en) Cross domain communication channel
US20170102919A1 (en) Systems and methods for low interference logging and diagnostics
Wilkinson et al. QMachine: commodity supercomputing in web browsers
WO2016005884A2 (en) Javascript-based, client-side template driver system
US20140245124A1 (en) System and method thereof for browser agnostic extension models
CN111328394A (en) Locally secure rendering of WEB content
CN109325192B (en) Advertisement anti-shielding method and device
US20070192324A1 (en) Method and device for advanced cache management in a user agent
CN111723314A (en) Webpage display method and device, electronic equipment and computer readable storage medium
CN113220273A (en) Micro front-end application resource processing method, device, equipment and medium
CN113094612A (en) Method and device for loading webpage at client, electronic equipment and medium
US9258311B2 (en) Virtual federation of remote portals
CN111880789A (en) Page rendering method, device, server and computer-readable storage medium
CN113315829B (en) Client offline H5 page loading method and device, computer equipment and medium
CN113127788B (en) Page processing method, object processing method, device and equipment
US10482507B2 (en) Handling digital advertisements in a communication network
Ünlü et al. Transcoding web pages via stylesheets and scripts for saving energy on the client

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: SUZHOU JINGYIHUI INFORMATION TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: SIP JINYI TECH CO., LTD.

Effective date: 20140901

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20140901

Address after: 215000 Jiangsu Province, Suzhou City Industrial Park, building 69 room 905 guests

Applicant after: Suzhou Jingyihui Information Technology Co., Ltd.

Address before: 215000 Jiangsu Province, Suzhou City Industrial Park, building 69 room 905 guests

Applicant before: Suzhou Industrial Park Jinyi Technology Co., Ltd.

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131030