CN104699780A - Method for improving webpage response speed under large data volume - Google Patents
Method for improving webpage response speed under large data volume Download PDFInfo
- Publication number
- CN104699780A CN104699780A CN201510107995.6A CN201510107995A CN104699780A CN 104699780 A CN104699780 A CN 104699780A CN 201510107995 A CN201510107995 A CN 201510107995A CN 104699780 A CN104699780 A CN 104699780A
- Authority
- CN
- China
- Prior art keywords
- page
- region
- response speed
- subregion
- web page
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method for improving webpage response speed under a large data volume, and belongs to the technical field of webpage generation. The method comprises the following steps: (1) partitioning a WEB page into several zones; (2) when the page is generated, arranging an independent buffer for every zone and setting a buffer logo according to the zone partitioned in step one; (3) when the WEB page is generated again, judging if every zone of the page needs to update; if all zones need not to update, directly obtaining the buffer content from the buffer and generating a page; if content of a part of zone needs to update, updating the buffer of the zone. Compared with the prior art, the method can guarantee the maximized use ratio of the page buffer; any data updating only can cause the failure of the buffer of one segment; therefore, when low indexing cost is guaranteed, fast response speed of a Web application procedure must be guaranteed. The method for improving webpage response speed under the large data volume is particularly suitable for using under the environment of the large data volume.
Description
Technical field
The present invention relates to auto-building html files technical field, specifically a kind of can effectively promote the big data quantity of page response speed under improve the method for webpage response speed.
Background technology
Traditional dynamic web page technique is generally based on database, and mutual by user and backstage, realizes the actions such as inquiry, submission.In order to ensure the real-time of content of pages, when each generation page, page controller all will go retrieve data in database, and a generation WEB page often needs several different database tables to provide data, in page generative process, page controller will several times mutual with database.
Although the generating mode of above-mentioned dynamic web page is widely used, but, in many applications such as internet site, ecommerce, data volume increases at a terrific speed, along with the increase of back-end data amount, the retrieval cost of database is more and more higher, and cause the response speed of web application slack-off, the use sense that have impact on user is subject to.
Under big data quantity environment, as how simple technological means promotes page response speed, become the technical matters that those skilled in the art urgently solve.
Summary of the invention
Technical assignment of the present invention is for above-mentioned the deficiencies in the prior art, improves the method for webpage response speed under providing a kind of big data quantity.
Technical assignment of the present invention realizes in the following manner: a kind of method improving webpage response speed under big data quantity, comprises the following steps:
(1) WEB page is divided into several regions.Wherein whole WEB page can think a region, and its content can think the subregion of WEB page, as: header area, tailer, content regions one, content regions two, content regions X etc.;
(2) when the page generates, according to the region divided in step one, for each region arranges an independently buffer memory arrange cashing indication;
(3) when again generating this WEB page, judge that each region of this page is the need of renewal, if all regions all do not need to upgrade, then the direct cache contents that obtains from buffer memory generates the page, namely directly from buffer memory, obtain the contents fragment that cache contents generates this region, thus finally generate whole WEB page; If subregion content needs to upgrade, then upgrade the buffer memory in this region.
As preferably, in step one, whole WEB page can be defined as a region, and its division of teaching contents is several subregions of WEB page.
Further, step stroke divides the subregion obtained Further Division to be some secondary subregions; The region that step 2 divides according to step one, subregion and secondary subregion, for each region, subregion or secondary subregion arrange an independently buffer memory.
By the mode of recurrence, step 3 judges that each region of this page, subregion and/or secondary subregion are the need of renewal.
Compared with prior art, WEB page is divided into several regions by the method improving webpage response speed under big data quantity of the present invention, and arranges independently buffer memory for each region, if certain region content needs to upgrade, then only upgrades the buffer memory in this region.
By cache way of the present invention, the maximization of page cache utilization factor can be ensured, the renewal of any data, only can cause the cache invalidation of some fragments, while ensureing lower retrieval cost, ensure that web application has response speed faster, improve the effect impression of client, use under being particluarly suitable for big data quantity environment.
Accompanying drawing explanation
Accompanying drawing 1 is that in embodiment one, schematic diagram is distinguished in WEB page region;
Accompanying drawing 2 is that in embodiment one, WEB page has region during renewal to distinguish schematic diagram;
Accompanying drawing 3 is that in embodiment two, schematic diagram is distinguished in WEB page region;
Accompanying drawing 4 is that in embodiment two, WEB page has region during renewal to distinguish schematic diagram.
Embodiment
The method improving webpage response speed under big data quantity of the present invention is described in detail below with specific embodiment with reference to Figure of description.
Embodiment one:
Improve a method for webpage response speed under big data quantity, comprise the following steps:
Step 1: WEB page is divided into several different regions according to the content degree of correlation, wherein whole WEB page can think a region, its content can think the subregion of WEB page, as: head zone, navigation area, content area, file area, bottom section etc. (as shown in Figure 1);
Step 2, WEB page first time is when generating, and the content in region to be put into independently in buffer memory according to the region divided in step one;
When step 3, WEB page generate again, judge that each region is the need of renewal, if do not need to upgrade, then direct cache contents is spliced in the page, if region needs to upgrade (as file area), again this region content is spliced in the page after then upgrading this region, as shown in Figure 2.
Embodiment two:
Improve a method for webpage response speed under big data quantity, comprise the following steps:
Step 1: WEB page is divided into several different regions according to the content degree of correlation, wherein whole WEB page can think a region, its content can think the subregion of WEB page, as: head zone, navigation area, content area, file area, bottom section etc., content area again Further Division is secondary subregion, as content area one, content area two (as shown in Figure 3);
Step 2, WEB page first time is when generating, and the content in region to be put into independently in buffer memory according to the region divided in step one;
When step 3, WEB page generate again, judge that each region is the need of renewal, if do not need to upgrade, then direct cache contents is spliced in the page, if region needs to upgrade (as content area two, file area), again this region content is spliced in the page after then upgrading this region, as shown in Figure 4.
Claims (4)
1. improve a method for webpage response speed under big data quantity, it is characterized in that comprising the following steps:
(1) WEB page is divided into several regions;
(2) when the page generates, according to the region divided in step one, for each region arranges an independently buffer memory arrange cashing indication;
(3) when again generating this WEB page, judge that each region of this page is the need of renewal, if all regions all do not need to upgrade, then the direct cache contents that obtains from buffer memory generates the page; If subregion content needs to upgrade, then upgrade the buffer memory in this region.
2. improve the method for webpage response speed under big data quantity according to claim 1, it is characterized in that: in step one, whole WEB page is a region, its division of teaching contents is several subregions of WEB page.
3. improve the method for webpage response speed under big data quantity according to claim 2, it is characterized in that: step stroke divides the subregion Further Division obtained to be some secondary subregions; The region that step 2 divides according to step one, subregion and secondary subregion, for each region, subregion or secondary subregion arrange an independently buffer memory.
4. improve the building method of the method for webpage response speed under big data quantity described in Claims 2 or 3, it is characterized in that: by the mode of recurrence, step 3 judges that each region of this page, subregion and/or secondary subregion are the need of renewal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510107995.6A CN104699780A (en) | 2015-03-12 | 2015-03-12 | Method for improving webpage response speed under large data volume |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510107995.6A CN104699780A (en) | 2015-03-12 | 2015-03-12 | Method for improving webpage response speed under large data volume |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104699780A true CN104699780A (en) | 2015-06-10 |
Family
ID=53346901
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510107995.6A Pending CN104699780A (en) | 2015-03-12 | 2015-03-12 | Method for improving webpage response speed under large data volume |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104699780A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105512278A (en) * | 2015-12-04 | 2016-04-20 | 小米科技有限责任公司 | Webpage display method and device |
CN107851071A (en) * | 2015-08-11 | 2018-03-27 | 三菱电机株式会社 | Web browsing apparatus and web viewing programs |
CN111177611A (en) * | 2018-11-13 | 2020-05-19 | 商派软件有限公司 | Method for multiplexing cache |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101127044A (en) * | 2007-06-08 | 2008-02-20 | 北京大学 | Dynamic web page segmentation method |
US20080320050A1 (en) * | 2007-06-25 | 2008-12-25 | Microsoft Corporation | Asynchronous updating of web page data views |
CN101551819A (en) * | 2009-04-30 | 2009-10-07 | 用友软件股份有限公司 | A method for rendering large-scale Web page |
-
2015
- 2015-03-12 CN CN201510107995.6A patent/CN104699780A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101127044A (en) * | 2007-06-08 | 2008-02-20 | 北京大学 | Dynamic web page segmentation method |
US20080320050A1 (en) * | 2007-06-25 | 2008-12-25 | Microsoft Corporation | Asynchronous updating of web page data views |
CN101551819A (en) * | 2009-04-30 | 2009-10-07 | 用友软件股份有限公司 | A method for rendering large-scale Web page |
Non-Patent Citations (2)
Title |
---|
JIM CHALLENGER等: "A Publishing System for Efficiently Creating Dynamic Web Content", 《IEEE》 * |
尤朝 等: "一种在线的动态网页分块缓存方法", 《电子学报》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107851071A (en) * | 2015-08-11 | 2018-03-27 | 三菱电机株式会社 | Web browsing apparatus and web viewing programs |
CN105512278A (en) * | 2015-12-04 | 2016-04-20 | 小米科技有限责任公司 | Webpage display method and device |
CN111177611A (en) * | 2018-11-13 | 2020-05-19 | 商派软件有限公司 | Method for multiplexing cache |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104461484B (en) | The implementation method and device of front-end template | |
US10613762B2 (en) | Memory allocation buffer for reduction of heap fragmentation | |
RU2005116528A (en) | CREATION AND MANAGEMENT OF CONTENT-RELATED OBJECTS | |
JP6203374B2 (en) | Web page style address integration | |
MX356304B (en) | Memory resource optimization method and apparatus. | |
CN107133044B (en) | Method and system for rapidly developing data maintenance type page | |
CN104270395A (en) | Method, device and system for checking input data | |
CN105095441A (en) | Information acquisition method and device | |
CN101751444A (en) | Webpage content customizing system and method | |
CN104699780A (en) | Method for improving webpage response speed under large data volume | |
CN111797096A (en) | Data indexing method and device based on ElasticSearch, computer equipment and storage medium | |
CN102682098A (en) | Method and device for detecting web page content changes | |
JP2014527660A (en) | Method and apparatus for acquiring structured information in layout file | |
CN104391868A (en) | Staticizing device and method for dynamic page | |
CN105022696A (en) | Large memory page integration method based on memory access heat | |
CN104391923A (en) | Data set query method and apparatus | |
CN105404595A (en) | Cache management method and apparatus | |
CN112507020A (en) | Data synchronization method and device, computer equipment and storage medium | |
US11720407B2 (en) | Resource pre-fetch using age threshold | |
US9652416B2 (en) | Storage device for performing in-storage computing operations, method of operation the same, and system including the same | |
CN107430614B (en) | Application local deep linking to corresponding resources | |
US20130238983A1 (en) | Method and system for optimally transcoding websites | |
CN105930354B (en) | Storage model conversion method and device | |
JP2020098593A (en) | Non-uniform pagination of columnar data | |
US10055350B2 (en) | Controlled cache injection of incoming data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150610 |
|
WD01 | Invention patent application deemed withdrawn after publication |