CN105634972A - Method for improving access efficiency of Web client - Google Patents

Method for improving access efficiency of Web client Download PDF

Info

Publication number
CN105634972A
CN105634972A CN201610064132.XA CN201610064132A CN105634972A CN 105634972 A CN105634972 A CN 105634972A CN 201610064132 A CN201610064132 A CN 201610064132A CN 105634972 A CN105634972 A CN 105634972A
Authority
CN
China
Prior art keywords
server
data
assembly
client
access efficiency
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
CN201610064132.XA
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201610064132.XA priority Critical patent/CN105634972A/en
Publication of CN105634972A publication Critical patent/CN105634972A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • 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
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Abstract

The invention relates to the data access technique, aims at solving the problem in the prior art that when a user accesses network resources through a Web client, a network resource server is liable to be paralyzed. The invention provides a method for improving the access efficiency of the Web client. When the user initially browses a Web, an assembly is loaded from an assembly resource server; corresponding data are obtained from a data server, thus forming a corresponding webpage; when the user loads the webpage again, a local cache is queried firstly; the locally existing assembly is obtained; if there is no locally existing assembly, the assembly is obtained from the assembly server; and the data in the data server are obtained. The method provided by the invention is applicable for accessing terminal network data.

Description

A kind of method improving Web client access efficiency
Technical field
The present invention relates to data access technology, particularly to a kind of method improving Web client access efficiency.
Background technology
Current internet application accounts for major part with web access, and in order to meet people's needs to the network information, the website such as various shopping, friend-making and door increases like in recent years in blowout. And in order to enrich info web, render web page background, cause that the UI assembly " volume " of webpage is increasing.
According to CNNIC (CNNIC), core network packet capturing being analyzed discovery, in network traffics, page views account for major part and are most active parts. How reducing the occupation rate of the network bandwidth, the utilization rate improving bandwidth has become as the focus that people are concerned about and study.
The method that great majority use at present is the know-why utilizing AJAX webpage dynamic load; although the method is disposable when can reduce webpage loading or refresh obtains mass data from server; reduce network bandwidth occupation rate; accelerate the advantages such as webpage loading; but the method but causes the increase to server access number of times; when client is too much and when accessing simultaneously, it is easily caused server crash or congestion information.
Summary of the invention
The invention aims to solve in prior art, when user accesses Internet resources by Web client, it is easy to cause the problem that network resource server holds paralysis.
For reaching above-mentioned purpose, the present invention provides a kind of method improving Web client access efficiency, it is characterised in that comprise the steps:
User initiates web page browsing request by client, and client is from component resources server charging assembly, and obtains corresponding data from data server;
The data obtained in the client assembly to loading in component resources server and data server process, and form corresponding webpage and display.
Entering a ground, acquired assembly after securing component, is stored in local cache by client from component resources server.
Specifically, when user initiates web page browsing request again, client first inquires about whether store required assembly in local cache, if having, then forms webpage after directly obtaining corresponding data from data server and shows.
Specifically, if local cache does not have required assembly, then client charging assembly from component resources server, and from data server, obtain corresponding data, form webpage and show.
Communicate it is preferred that be connected by high-speed data between described client with component resources server and data server.
The invention has the beneficial effects as follows: owing to client component base resource is unified, and no matter webpage redirects or refresh webpage update resource less, it is even that data change, so when first time loads webpage, page associated component is just saved in local cache Cache, when the page again redirects or refreshes, first checks whether the component resources that webpage needs from local cache, if it did not, obtain from server again. Due to the order of server behind first this locality, greatly reduce occupying of web page access Time Bandwidth, also reduce server and be accessed for frequency, indirectly improve the concurrency performance of server, control is individually deployed on a specific server and separates with data server simultaneously, no matter being load webpage for the first time or reload, consuming time few, reaction is fast.
Detailed description of the invention
Hereinafter technical scheme is described in further detail.
The present invention solves in prior art, when many Web client access server, it is easy to the problem causing servers go down, it is provided that a kind of method improving Web client access efficiency, it is characterised in that comprise the steps:
User initiates web page browsing request by client, and client is from component resources server charging assembly, and obtains corresponding data from data server;
The data obtained in the client assembly to loading in component resources server and data server process, and form corresponding webpage and display.
When user carries out web browsing for the first time, charging assembly from component resources server respectively, data server obtains corresponding data, form corresponding webpage, local cache is first inquired about when user loads webpage again, obtain local existing assembly, without obtaining from component server again, obtain the data in data server simultaneously.
Hereinafter the technology of the present invention key point is described in detail.
Continuous renewal and progress along with Web development technique, in order to shorten development process, improve development efficiency, web front end assembly is for the ease of using, publisher constantly encapsulates, function is also more come powerful, assembly corresponding " volume " also constantly increases, in single webpage, the quantity of assembly also just reduces relatively, by by assembly unified plan, unified call, reach once to load nonexpondable principle, the data transfer being greatly reduced between client and Web server improves bandwidth availability ratio, decreases server request number of times, improves website visiting concurrency.
For web access, what present to us is all interface, client foreground, and in network, most of resource of transmission is also web pages component, and the data produced by background logic program only account for very small part. So resource unification here is importantly directed to foreground resource, current foreground resource is except obligato html language, dynamic web page also includes the correlation technique such as CSS, JS, Jqury and easyUI, their essence is the same in fact can realize dynamic web page function, basic module has been carried out certain encapsulation and has formed by group of simply increasing income, when team carries out front end exploitation, technical resource must project unification.
By on website client end one server of Component Gallery resource unified plan, these needs were just deployed on home server when the development phase, and cannot function as and call storehouse and add this locality in IDE development environment to and directly invoke.
By client component base resource unified plan on same server address, and relative address is write in server XML configuration file, for instance: tomcat server just should write in Web.xml.
Being placed on different server by resource component and data, assembly has only to request of loading, i.e. a reading mode, unidirectional loading, and data are to read and write to carry out simultaneously, are two-way process. The feature of data is little, many, and access frequency is high, and feature of the module is big, and few, access frequency is little, it is stored respectively and is conducive to management, improves access efficiency, simultaneously when assembly is constant, it is only necessary to number of request.

Claims (5)

1. the method improving Web client access efficiency, it is characterised in that comprise the steps:
User initiates web page browsing request by client, and client is from component resources server charging assembly, and obtains corresponding data from data server;
The data obtained in the client assembly to loading in component resources server and data server process, and form corresponding webpage and display.
2. a kind of method improving Web client access efficiency as claimed in claim 1, it is characterised in that acquired assembly after securing component, is stored in local cache by client from component resources server.
3. a kind of method improving Web client access efficiency as claimed in claim 2, it is characterized in that, when user initiates web page browsing request again, client first inquires about whether store required assembly in local cache, if having, then form webpage after directly obtaining corresponding data from data server and show.
4. a kind of method improving Web client access efficiency as claimed in claim 3, it is characterized in that, if local cache does not have required assembly, then client charging assembly from component resources server, and from data server, obtain corresponding data, form webpage and show.
5. a kind of method improving Web client access efficiency as described in claim 3 or 4, it is characterised in that be connected by high-speed data between described client with component resources server and data server and communicate.
CN201610064132.XA 2016-01-29 2016-01-29 Method for improving access efficiency of Web client Pending CN105634972A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610064132.XA CN105634972A (en) 2016-01-29 2016-01-29 Method for improving access efficiency of Web client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610064132.XA CN105634972A (en) 2016-01-29 2016-01-29 Method for improving access efficiency of Web client

Publications (1)

Publication Number Publication Date
CN105634972A true CN105634972A (en) 2016-06-01

Family

ID=56049489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610064132.XA Pending CN105634972A (en) 2016-01-29 2016-01-29 Method for improving access efficiency of Web client

Country Status (1)

Country Link
CN (1) CN105634972A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294735A (en) * 2016-08-09 2017-01-04 广州酷狗计算机科技有限公司 A kind of Web access method based on caching and device
CN109117447A (en) * 2017-06-22 2019-01-01 深圳联友科技有限公司 A kind of server data access method and device of cache web pages
CN109408232A (en) * 2018-10-17 2019-03-01 山东易通发展集团有限公司 A kind of modularization bus calling execution system based on transaction flow
CN110866197A (en) * 2019-11-19 2020-03-06 中国民航信息网络股份有限公司 Method and device for accessing departure front-end client based on WEB application program
CN110989987A (en) * 2019-12-04 2020-04-10 北京小米移动软件有限公司 Portal webpage generation method, portal webpage generation device, client, server and storage medium
CN113872785A (en) * 2020-06-30 2021-12-31 大唐移动通信设备有限公司 Model obtaining method and device and operation maintenance terminal

Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783804A (en) * 2004-12-01 2006-06-07 华为技术有限公司 Realtime updating method for net page data
CN101539911A (en) * 2008-03-18 2009-09-23 盛大计算机(上海)有限公司 Device and method for accelerating display of web page of browser
CN101599015A (en) * 2009-07-07 2009-12-09 阿里巴巴集团控股有限公司 A kind of method and system of analyzing component
US20110060999A1 (en) * 2009-09-10 2011-03-10 Samsung Electronics Co., Ltd. Apparatus and method for interfacing between a remote user interface server and a remote user interface client
CN101997927A (en) * 2010-11-18 2011-03-30 厦门市美亚柏科信息股份有限公司 Method and system for caching data of WEB platform
US20110249871A1 (en) * 2010-04-09 2011-10-13 Microsoft Corporation Page load performance analysis
CN202043132U (en) * 2011-01-22 2011-11-16 彭浩明 Control system capable of adaptively incrementally transmitting
CN102375882A (en) * 2011-09-19 2012-03-14 奇智软件(北京)有限公司 Method, device and browser for rapidly accessing webpage
CN102438045A (en) * 2011-12-07 2012-05-02 深圳市深信服电子科技有限公司 Method and system for pre-fetching web page, and method for accessing web page
CN102446222A (en) * 2011-12-22 2012-05-09 华为技术有限公司 Method, device and system of webpage content preloading
CN102662993A (en) * 2012-03-14 2012-09-12 北京神州数码思特奇信息技术股份有限公司 A method for providing page data
CN103116645A (en) * 2013-02-25 2013-05-22 广东欧珀移动通信有限公司 Method and device for browsing webpage with mobile device
CN103166916A (en) * 2011-12-12 2013-06-19 深圳市金蝶中间件有限公司 Method and system for updating page
US20130167156A1 (en) * 2011-12-21 2013-06-27 Microsoft Corporation Web page to toolbar communication
CN103237003A (en) * 2013-01-17 2013-08-07 北京印天网真科技有限公司 Method and device for responding to high visiting flow in network
CN103377194A (en) * 2012-04-16 2013-10-30 苏州工业园区进一科技有限公司 Method, device and browser for accelerating access to web pages
CN103399769A (en) * 2013-08-02 2013-11-20 昆明能讯科技有限责任公司 Assembly loading system
CN103440143A (en) * 2013-08-02 2013-12-11 安徽科大讯飞信息科技股份有限公司 System and method for upgrading mobile web application
CN103455478A (en) * 2012-05-21 2013-12-18 腾讯科技(深圳)有限公司 Webpage access accelerating method and device
CN103744845A (en) * 2013-03-01 2014-04-23 王新 Method and system for WEB platform data caching
CN103763340A (en) * 2013-12-24 2014-04-30 杭州华三通信技术有限公司 Web access optimizing device and method
CN104298723A (en) * 2014-09-24 2015-01-21 蓝盾信息安全技术有限公司 Method for achieving page staticizing in website
CN104346462A (en) * 2014-11-07 2015-02-11 北京奇虎科技有限公司 Method and device for saving web page elements, and browser client
CN104601691A (en) * 2015-01-13 2015-05-06 北京中交兴路车联网科技有限公司 Method and system for increasing loading speed of Web site resource
CN104793933A (en) * 2015-03-31 2015-07-22 北京奇艺世纪科技有限公司 Method and system for displaying terminal data

Patent Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783804A (en) * 2004-12-01 2006-06-07 华为技术有限公司 Realtime updating method for net page data
CN101539911A (en) * 2008-03-18 2009-09-23 盛大计算机(上海)有限公司 Device and method for accelerating display of web page of browser
CN101599015A (en) * 2009-07-07 2009-12-09 阿里巴巴集团控股有限公司 A kind of method and system of analyzing component
US20110060999A1 (en) * 2009-09-10 2011-03-10 Samsung Electronics Co., Ltd. Apparatus and method for interfacing between a remote user interface server and a remote user interface client
US20110249871A1 (en) * 2010-04-09 2011-10-13 Microsoft Corporation Page load performance analysis
CN101997927A (en) * 2010-11-18 2011-03-30 厦门市美亚柏科信息股份有限公司 Method and system for caching data of WEB platform
CN202043132U (en) * 2011-01-22 2011-11-16 彭浩明 Control system capable of adaptively incrementally transmitting
CN102375882A (en) * 2011-09-19 2012-03-14 奇智软件(北京)有限公司 Method, device and browser for rapidly accessing webpage
CN102438045A (en) * 2011-12-07 2012-05-02 深圳市深信服电子科技有限公司 Method and system for pre-fetching web page, and method for accessing web page
CN103166916A (en) * 2011-12-12 2013-06-19 深圳市金蝶中间件有限公司 Method and system for updating page
US20130167156A1 (en) * 2011-12-21 2013-06-27 Microsoft Corporation Web page to toolbar communication
CN102446222A (en) * 2011-12-22 2012-05-09 华为技术有限公司 Method, device and system of webpage content preloading
CN102662993A (en) * 2012-03-14 2012-09-12 北京神州数码思特奇信息技术股份有限公司 A method for providing page data
CN103377194A (en) * 2012-04-16 2013-10-30 苏州工业园区进一科技有限公司 Method, device and browser for accelerating access to web pages
CN103455478A (en) * 2012-05-21 2013-12-18 腾讯科技(深圳)有限公司 Webpage access accelerating method and device
CN103237003A (en) * 2013-01-17 2013-08-07 北京印天网真科技有限公司 Method and device for responding to high visiting flow in network
CN103116645A (en) * 2013-02-25 2013-05-22 广东欧珀移动通信有限公司 Method and device for browsing webpage with mobile device
CN103744845A (en) * 2013-03-01 2014-04-23 王新 Method and system for WEB platform data caching
CN103440143A (en) * 2013-08-02 2013-12-11 安徽科大讯飞信息科技股份有限公司 System and method for upgrading mobile web application
CN103399769A (en) * 2013-08-02 2013-11-20 昆明能讯科技有限责任公司 Assembly loading system
CN103763340A (en) * 2013-12-24 2014-04-30 杭州华三通信技术有限公司 Web access optimizing device and method
CN104298723A (en) * 2014-09-24 2015-01-21 蓝盾信息安全技术有限公司 Method for achieving page staticizing in website
CN104346462A (en) * 2014-11-07 2015-02-11 北京奇虎科技有限公司 Method and device for saving web page elements, and browser client
CN104601691A (en) * 2015-01-13 2015-05-06 北京中交兴路车联网科技有限公司 Method and system for increasing loading speed of Web site resource
CN104793933A (en) * 2015-03-31 2015-07-22 北京奇艺世纪科技有限公司 Method and system for displaying terminal data

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
J. CHALLENGER等: "《High performance Web site design techniques》", 《IEEE INTERNET COMPUTING》 *
康长安等: "《基于前端的web性能优化》", 《电脑知识与技术》 *
张正风等: "《Web性能优化前端方案研究》", 《软件导刊》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294735A (en) * 2016-08-09 2017-01-04 广州酷狗计算机科技有限公司 A kind of Web access method based on caching and device
CN109117447A (en) * 2017-06-22 2019-01-01 深圳联友科技有限公司 A kind of server data access method and device of cache web pages
CN109408232A (en) * 2018-10-17 2019-03-01 山东易通发展集团有限公司 A kind of modularization bus calling execution system based on transaction flow
CN110866197A (en) * 2019-11-19 2020-03-06 中国民航信息网络股份有限公司 Method and device for accessing departure front-end client based on WEB application program
CN110866197B (en) * 2019-11-19 2022-08-19 中国民航信息网络股份有限公司 Method and device for accessing departure front-end client based on WEB application program
CN110989987A (en) * 2019-12-04 2020-04-10 北京小米移动软件有限公司 Portal webpage generation method, portal webpage generation device, client, server and storage medium
CN110989987B (en) * 2019-12-04 2024-03-01 北京小米移动软件有限公司 Portal webpage generation method and device, client, server and storage medium
CN113872785A (en) * 2020-06-30 2021-12-31 大唐移动通信设备有限公司 Model obtaining method and device and operation maintenance terminal

Similar Documents

Publication Publication Date Title
CN105634972A (en) Method for improving access efficiency of Web client
KR102185864B1 (en) Server-side rendering method and system of native content for presentation
US8224804B2 (en) Indexing of partitioned external data sources
CN102184227B (en) General crawler engine system used for WEB service and working method thereof
US8463896B2 (en) Dynamic portal creation based on personal usage
CN103200212B (en) A kind of method and system realizing distributed conversation under cloud computing environment
CN105095280A (en) Caching method and apparatus for browser
CN103383687B (en) A kind of page processing method and device
CN103412890A (en) Webpage loading method and device
CN109388766A (en) The method and apparatus of page load
CN103699674A (en) Webpage storing method, webpage opening method, webpage storing device, webpage opening device and webpage browsing system
CN106294365A (en) The page data processing method of a kind of single page web application and equipment
CN103699635B (en) Information processing method and device
Pande et al. Enhanced web application and browsing performance through service-worker infusion framework
Behl et al. Architectural pattern of progressive web and background synchronization
CN105528369B (en) Webpage code-transferring method, device and server
US20130138767A1 (en) Systems and methods for managing loading of web pages
CN102156697A (en) Method and terminal equipment for realizing webpage application through widget
CN101895550B (en) Cache accelerating method for compatibility of dynamic and static contents of internet website
US20070156839A1 (en) Web services for wireless pervasive devices
US9471552B1 (en) Optimization of scripting for web applications
US20150067089A1 (en) Metadata driven declarative client-side session management and differential server side data submission
US8725765B2 (en) Hierarchical registry federation
CN106919595B (en) Cookie mapping method and device and electronic equipment
CN108664191B (en) System access method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160601